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