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