Sign in
webkit
/
WebKit
/
6ac1ae7345a9a50f3760d4fdf5f8c6512c4a9901
/
.
/
JSTests
/
microbenchmarks
/
arguments.js
blob: 5e4bb04a2f86a8096d510d747bc2ae3505d1ad30 [
file
] [
log
] [
blame
]
//@ skip if $model == "Apple Watch Series 3" # added by mark-jsc-stress-test.py
function
foo
()
{
return
arguments
[
0
];
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
(
i
);
if
(
result
!=
i
)
throw
"Error: bad result: "
+
result
;
}