Sign in
webkit
/
WebKit
/
36168652e4948b4e847a9c1caf1fabcf1810968f
/
.
/
JSTests
/
microbenchmarks
/
arity-mismatch-inlining.js
blob: 88f312711bbfc9fb797db0a71923dfc57ee70692 [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
)
{
return
a
+
b
;
}
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
result
=
foo
(
1
,
2
,
3
);
if
(
result
!=
3
)
throw
"Bad result: "
+
result
;
}