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