summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/bug1507314.js
blob: db07593d875d5ef0b6f7c75c94e733e663f74558 (plain)
1
2
3
4
5
6
// |jit-test| --no-sse4
if (!wasmCachingEnabled())
    quit(0);

var m = wasmCompileInSeparateProcess(wasmTextToBinary('(module (func (export "run") (result i32) (i32.const 42)))'));
assertEq(new WebAssembly.Instance(m).exports.run(), 42);