blob: 4e2ddbd2f05db4ecce9fd9ba4569f6b0624aa137 [file] [log] [blame]
function test(object) {
sum = 0;
for (var i in object)
sum += object[i];
return sum;
}
noInline(test);
for (let i = 0; i < 1e5; ++i) {
var o = Array(100).fill(1);
o.a = 0;
o.b = 2;
test(o);
}