Sign in
webkit
/
WebKit
/
6117b7969ae9bfefe57ab827c89504ffb0a59249
/
.
/
JSTests
/
stress
/
trivially-foldable-reflective-arguments-access.js
blob: 1d21c8520ff4c5a44f526e8610d13aecfa3f90f2 [
file
] [
log
] [
blame
]
function
foo
()
{
return
arguments
[
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
;
}