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