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