summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug855442.js
blob: cd95449f01de2991c536a900030fe86e24db0657 (plain)
1
2
3
4
5
6
7
8
gczeal(2,4);
function asmModule(g, foreign, heap) {
    "use asm";
    var HEAP8 = new g.Int8Array(heap);
    function f() {}
    return {f: f};
}
asmModule(this, 2, new ArrayBuffer(2048));