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