summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/regress/baseline-nops-jumptable.js
blob: e4388296fb31c3e58f65b35ccd584efbcadbced1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| --arm-asm-nop-fill=1
var f = wasmEvalText(`(module (func (param i32) (result i32)
      (block $0
       (block $1
        (block $2
         (block $default
          (br_table $0 $1 $2 $default (local.get 0))))))
      (return (i32.const 0)))
    (export "" (func 0))
)`).exports[""];

f(0);