blob: 5d3e853fe6a34ce128c9b6b4e18dd63adcd3cbb5 [file] [log] [blame]
//@ runNoCJIT("--forceBaseline=true", "--useDFGJIT=false")
function foo(o) {
return o.i7;
}
var o = {};
for (var i = 0; i < 100; ++i)
o["i" + i] = i;
for (var i = 0; i < 100; i+=2)
delete o["i" + i];
for (var i = 0; i < 100; ++i) {
var result = foo(o);
if (result != 7)
throw "Error: bad result: " + result;
}