diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/wasm/regress/baseline-arm64-chunk-pop.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/baseline-arm64-chunk-pop.js b/js/src/jit-test/tests/wasm/regress/baseline-arm64-chunk-pop.js new file mode 100644 index 0000000000..23aa5934a4 --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/baseline-arm64-chunk-pop.js @@ -0,0 +1,31 @@ +var bin = wasmTextToBinary( + `(module + (func (export "f4786") (result i32) + (local i32 i64 i64 i64 f32) + i32.const 1 + tee_local 0 + local.get 0 + local.get 0 + local.get 0 + local.get 0 + local.get 0 + local.get 0 + local.get 0 + if (result i32) + local.get 0 + else + local.get 0 + tee_local 0 + local.get 0 + br_if 1 + end + drop + drop + drop + drop + drop + drop + drop))`); +var ins = new WebAssembly.Instance(new WebAssembly.Module(bin)); +ins.exports.f4786(); + |