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