Sign in
webkit
/
WebKit
/
14cb98a360e661c1b39a648e8ccc3be2e2757789
/
.
/
JSTests
/
stress
/
recursive-tail-call-optimization-should-not-jump-into-call-frame-with-varargs-simple.js
blob: 610029602e95bba4764b48673f20267e3d5659ec [
file
] [
log
] [
blame
]
'use strict'
;
var
count
=
0
;
function
foo
()
{
count
--;
if
(
count
===
0
)
return
30
;
return
foo
(
42
,
42
);
}
function
test
()
{
count
=
100
;
return
foo
(...[
42
,
42
]);
}
noInline
(
test
);
for
(
var
i
=
0
;
i
<
1e6
;
++
i
)
test
();