1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/gc/bug-891773.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,14 @@ 1.4 +x = newGlobal() 1.5 +Int32Array = x.Int32Array 1.6 +x.p = new ArrayBuffer() 1.7 +schedulegc(29); 1.8 +(function(stdlib, n, heap) { 1.9 + "use asm" 1.10 + var Int32ArrayView = new stdlib.Int32Array(heap) 1.11 + function f() { 1.12 + Int32ArrayView[1] 1.13 + } 1.14 + return f 1.15 +})(this, { 1.16 + f: new Function 1.17 +}, new ArrayBuffer())