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