summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug915903.js
blob: 37ba24fe8e2ab3089a03265f0c8ddcbbdb64503f (plain)
1
2
3
4
5
6
7
8
9
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