js/src/jit-test/tests/asm.js/testBug855442.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/asm.js/testBug855442.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,8 @@
     1.4 +gczeal(2,4);
     1.5 +function asmModule(g, foreign, heap) {
     1.6 +    "use asm";
     1.7 +    var HEAP8 = new g.Int8Array(heap);
     1.8 +    function f() {}
     1.9 +    return {f: f};
    1.10 +}
    1.11 +asmModule(this, 2, new ArrayBuffer(2048));

mercurial