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