Sign in
webkit
/
WebKit
/
73559930a6418bc4621c1c5774b11e1be9c21a8f
/
.
/
JSTests
/
microbenchmarks
/
direct-tail-call.js
blob: d3c308623ca2b0561875341974023a88d48b6461 [
file
] [
log
] [
blame
]
"use strict"
;
function
foo
()
{
return
42
;
}
function
bar
()
{
return
foo
();
}
noInline
(
foo
);
noInline
(
bar
);
(
function
()
{
for
(
var
i
=
0
;
i
<
10000000
;
++
i
)
{
var
result
=
bar
();
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}
})();