blob: aecbc6f4a67bef623af602c529eece033ed3762f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| --fast-warmup
let depth = 0;
function f1(a2, a3, a4, a5) {
f2();
}
function f2() {
if (depth++ > 100) {
return;
}
f1(1, 2);
assertEq(JSON.stringify(Array.from(f1.arguments)), "[1,2]");
}
f1(1, 2);
|