Sign in
webkit
/
WebKit
/
f208291ebb5233b8d92ab682a30d20b4b4d23e1e
/
.
/
JSTests
/
stress
/
use-arguments-as-object-pointer.js
blob: c9d24c125a308667d519dbdad71fb85378190538 [
file
] [
log
] [
blame
]
function
foo
()
{
arguments
=
{
f
:
42
};
return
arguments
.
f
;
}
noInline
(
foo
);
for
(
var
i
=
0
;
i
<
100000
;
++
i
)
{
var
result
=
foo
();
if
(
result
!=
42
)
throw
"Error: bad result: "
+
result
;
}