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