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