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