Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug925067-2.js
blob: e56e7c9a51839426429f006fb667b01b7ebaf29f [
file
] [
log
] [
blame
]
// |jit-test| error: 4
function
g
(
o
)
{
if
(
o
.
x
>=
0
)
{
for
(;;)
o
.
next
();
}
return
o
.
x
;
}
function
f
()
{
var
o
=
{
x
:
0
,
next
:
function
()
{
if
(
this
.
x
++
>
100
)
throw
4
;
}};
g
(
o
);
}
f
();