Sign in
webkit
/
WebKit
/
18eafb7225658eb078fb4b435c7e6f4bc55edf7a
/
.
/
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
();