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