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