Sign in
webkit
/
WebKit
/
d507f536e123365c4233f3083e0192532185e8fc
/
.
/
JSTests
/
microbenchmarks
/
function-call.js
blob: 1573c3b5e0ca791794f25169a91cb4a7dc9b28ce [
file
] [
log
] [
blame
]
var
fe
=
function
(
a
,
b
)
{
return
a
+
b
;}
noInline
(
fe
);
function
bar
(
a
,
b
)
{
return
fe
(
a
,
b
);
}
noInline
(
bar
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
bar
(
1
,
2
);
if
(
result
!=
3
)
throw
"Error: bad result: "
+
result
;
}