Sign in
cobalt
/
cobalt
/
e77c070364e97b7a7deea396227c08805cb9e66d
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
bug901086.js
blob: 9725962e8ec56ae0a48354c0ffefdd98e69ad4c7 [
file
] [
log
] [
blame
]
enableSPSProfiling
();
function
foo
(
obj
,
x
,
y
,
z
)
{
if
(!
y
)
assertEq
(
0
,
1
);
obj
.
x
=
x
;
return
y
+
z
;
}
function
bar
()
{
var
objz
=
{
x
:
2
}
for
(
var
i
=
0
;
i
<
1100
;
i
++)
{
foo
(
objz
,
1
,
2
,
3
);
foo
(
objz
,
false
,
"bar"
,
"foo"
);
}
}
bar
();