Sign in
webkit
/
WebKit
/
3171213d84ddc1cb3289622b38ea4b8b7d089653
/
.
/
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
;
}