Sign in
webkit
/
WebKit
/
11eb14dbd76d8d03d540dd8285a36f1a3b897832
/
.
/
JSTests
/
microbenchmarks
/
direct-call.js
blob: 4bf0338f330dae2f36c29b966ec9e30ba2abad50 [
file
] [
log
] [
blame
]
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
;
}
})();