Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| --fast-warmup
let depth = 0;
function f1(a2, a3, a4, a5) {
f2();
}
function f2() {
// Recursion depth reduced to allow PBL with debug build (hence larger
// frames) to work.
if (depth++ > 40) {
return;
}
f1(1, 2);
assertEq(JSON.stringify(Array.from(f1.arguments)), "[1,2]");
}
f1(1, 2);