Sign in
webkit
/
WebKit
/
84c082c1adc8c505a644dc9092e891f52c30e8c0
/
.
/
JSTests
/
microbenchmarks
/
arguments-named-and-reflective.js
blob: 878ebb48be30876e89e71fff907760f60a96132c [
file
] [
log
] [
blame
]
function
foo
(
a
,
b
)
{
return
arguments
[
0
]
+
b
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
1000000
;
++
i
)
{
var
result
=
foo
(
i
,
1
);
if
(
result
!=
i
+
1
)
throw
"Error: bad result: "
+
result
;
}