Sign in
cobalt
/
cobalt
/
71840339e1109efe930df5c60712d91cdcc962a8
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
ion
/
InlineAddVTypeMonitor.js
blob: af5b9532cfcb52c1b8f2f5e80828c6153ac6340f [
file
] [
log
] [
blame
]
// make sure AddV instruction is monitoring the output type when 'f' is inlined
// into the loop of 'g'
var
x
=
{};
var
y
=
[];
function
f
(
i
)
{
return
x
+
y
;
}
function
g
(
m
)
{
var
i
;
for
(
i
=
0
;
i
<
m
;
i
++)
{
f
(
i
);
}
}
g
(
101
);