diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/ion/bug915903.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/ion/bug915903.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,10 @@ +x = {}; +x.toString = (function(stdlib, heap) { + Int8ArrayView = new stdlib.Int8Array(heap); + Float32ArrayView = new stdlib.Float32Array(heap); + function f() { + Int8ArrayView[0] = Float32ArrayView[0] + } + return f +})(this, ArrayBuffer); +x + 1