Debian Codegraph @

js/src/jit-test/tests/arguments/bug1827073.js

raw
1 // |jit-test| --fast-warmup
2 let depth = 0;
3 function f1(a2, a3, a4, a5) {
4 f2();
5 }
6 function f2() {
7 // Recursion depth reduced to allow PBL with debug build (hence larger
8 // frames) to work.
9 if (depth++ > 40) {
10 return;
11 }
12 f1(1, 2);
13 assertEq(JSON.stringify(Array.from(f1.arguments)), "[1,2]");
14 }
15 f1(1, 2);