blob: cc8e56db96fff09f178d9f52d2e4aeae0cb04d52 [file] [log] [blame]
description(
"Tests that if array allocation profiling causes a new_array to allocate double arrays, then the holes end up being correctly initialized."
);
function foo(array, i) {
return array[i];
}
for (var i = 0; i < 100; ++i)
shouldBe("foo([, 1.5], 0)", "void 0");