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