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