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