Sign in
webkit
/
WebKit
/
6cdbec3e6711cd621019b396b1c96891f8cf0596
/
.
/
JSTests
/
stress
/
slightly-more-difficult-to-fold-reflective-arguments-access.js
blob: ef44d263628b12cf424346eb70b8fadc6a340aef [
file
] [
log
] [
blame
]
function
foo
()
{
var
a
=
arguments
;
return
a
[
0
];
}
function
bar
(
x
)
{
return
foo
(
x
);
}
noInline
(
bar
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
result
=
bar
(
42
);
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}