diff --git a/js/src/jit-test/tests/ion/bug991457.js b/js/src/jit-test/tests/ion/bug991457.js new file mode 100644 index 000000000000..6b9099ed2cc7 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug991457.js @@ -0,0 +1,64 @@ +function test() { + this.init(); + for (var i=0; i<10; i++) { + delete this.blocks[10][9]; + this.collapse_blocks(); + } + this.look_for_holes(); +} +test.prototype.init = function() { + this.blocks = new Array(20); + for (var x=0; xtype() == MIRType_Elements);