Sign in
webkit
/
WebKit
/
8e29b3d7cb791dc7cac89a3f1ad250bef2d6f1cb
/
.
/
JSTests
/
microbenchmarks
/
arity-mismatch-inlining.js
blob: 46ab63cb5e618d5f59870fb9c37f9fd3ac59a184 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
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
;
}