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