diff options
Diffstat (limited to 'js/src/jit-test/tests/wasm/regress/bug1569137.js')
-rw-r--r-- | js/src/jit-test/tests/wasm/regress/bug1569137.js | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/wasm/regress/bug1569137.js b/js/src/jit-test/tests/wasm/regress/bug1569137.js new file mode 100644 index 0000000000..d80ae95486 --- /dev/null +++ b/js/src/jit-test/tests/wasm/regress/bug1569137.js @@ -0,0 +1,67 @@ +let { exports: { f } } = wasmEvalText(` +(module + (memory $0 1 1) + + (func (export "f") (result f32) + (local $0 i32) (local $1 f64) (local $2 i32) + + (local.set 0 (i32.const 134219779)) + (local.set 1 (f64.const 3810600700439633677210579e165)) + + (f32.floor + (loop $label$2 (result f32) + (br_if $label$2 + (i32.load offset=3 align=2 + (block $label$4 (result i32) + (drop + (if (result f64) + (br_if $label$4 + (i32.const 4883) + (i32.const -124) + ) + (then (f64.const 77)) + (else + (block (result f64) + (drop + (br_if $label$4 + (i32.const 4194304) + (i32.const -8192) + ) + ) + (return + (f32.const 4294967296) + ) + ) + ) + ) + ) + (br_if $label$4 + (br_if $label$4 + (i32.const -90) + (br_if $label$4 + (br_if $label$4 + (local.get $2) + (i32.const -16) + ) + (i32.const 15656) + ) + ) + (block $label$18 (result i32) + (i32.eqz + (br_if $label$4 + (i32.const -1) + (i32.const 15) + ) + ) + ) + ) + ) + ) + ) + (f32.const 23) + ) + ) + ) +)`); + +f(); |