diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/wasm/regress/baseline-pop-before-capture.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/baseline-pop-before-capture.js b/js/src/jit-test/tests/wasm/regress/baseline-pop-before-capture.js new file mode 100644 index 0000000000..b3a41f6949 --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/baseline-pop-before-capture.js @@ -0,0 +1,12 @@ +// Bug 1319415 + +var src = +`(module + (func (result i32) + i32.const 0 + i32.const 1 + br_if 0 + unreachable) + (export "run" (func 0)))`; + +wasmFullPass(src, 0); |