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