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