Commit 2f7ab929 authored by Eric Faust's avatar Eric Faust
Browse files

Bug 1496297 - Use |jit-test| skip-if as appropriate to jit-test/tests/wasm/ (r=jorendorff)

--HG--
extra : rebase_source : ac68c742097f302ed39c81b518fced3e2c0de366
parent 31e5f2c2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
if (!wasmThreadsSupported())
    quit(0);
// |jit-test| skip-if: !wasmThreadsSupported()

const oob = /index out of bounds/;
const unaligned = /unaligned memory access/;
+1 −2
Original line number Diff line number Diff line
if (!wasmStreamingIsSupported())
    quit();
// |jit-test| skip-if: !wasmStreamingIsSupported()

const {Module, Instance, compileStreaming} = WebAssembly;

+1 −2
Original line number Diff line number Diff line
if (!wasmGcEnabled())
    quit(0);
// |jit-test| skip-if: !wasmGcEnabled()

// We can read the object fields from JS, and write them if they are mutable.

+1 −3
Original line number Diff line number Diff line
if (!wasmGcEnabled() || typeof WebAssembly.Global !== 'function') {
    quit(0);
}
// |jit-test| skip-if: !wasmGcEnabled() || typeof WebAssembly.Global !== 'function'

// Dummy object.
function Baguette(calories) {
+1 −3
Original line number Diff line number Diff line
if (!wasmGcEnabled()) {
    quit(0);
}
// |jit-test| skip-if: !wasmGcEnabled()

const { startProfiling, endProfiling, assertEqPreciseStacks, isSingleStepProfilingEnabled } = WasmHelpers;

Loading