summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/exceptions/bug-1747562.js
blob: e54b860664d06e2db1d0e1d664bba4e98d8f2ef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
let bytes = wasmTextToBinary(`(module
  (type (;0;) (func))
  (func (;0;) (type 0)
    block  ;; label = @1
      try  ;; label = @2
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
        call 0
      delegate 0
    end)
  (export "" (func 0)))`);
let module = new WebAssembly.Module(bytes);