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