summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/oom-helper-thread-plus-validation-error.js
blob: 2d80e98d3c961ae4b99a6bc9143936867a38c0cc (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| skip-if: !('oomAfterAllocations' in this)

oomAfterAllocations(10, 2);
evaluate(`function mod(stdlib, ffi, heap) {
    "use asm";
    function f3(k) {
        k = k | 0;
    }
    function g3(k) {}
}`);