Skip to content

Truly independent web browser

LibJS: Initialize `legacy_arguments` in a JIT pass test's frame state

Jelle Raaijmakersff0942abee34
diff --git a/Libraries/LibJS/JIT/Rust/src/passes/tests.rs b/Libraries/LibJS/JIT/Rust/src/passes/tests.rs
index 50ea92d5391..dd64ee095ab 100644
--- a/Libraries/LibJS/JIT/Rust/src/passes/tests.rs
+++ b/Libraries/LibJS/JIT/Rust/src/passes/tests.rs
@@ -866,6 +866,7 @@ fn overflow_checks_removed_by_bounds_checks_check_the_counters_of_their_counts()
in_frame: Vec::new(),
parent: None,
passed_argument_count: None,
+ legacy_arguments: 0..0,
});
if failed_before {
graph.exit_sites.push((0, 7, ExitKind::OutOfBounds));