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