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);