1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/ion/bug915903.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +x = {}; 1.5 +x.toString = (function(stdlib, heap) { 1.6 + Int8ArrayView = new stdlib.Int8Array(heap); 1.7 + Float32ArrayView = new stdlib.Float32Array(heap); 1.8 + function f() { 1.9 + Int8ArrayView[0] = Float32ArrayView[0] 1.10 + } 1.11 + return f 1.12 +})(this, ArrayBuffer); 1.13 +x + 1