summaryrefslogtreecommitdiff
path: root/test/polymorphic_stack.wast.fromBinary
blob: 3a6fcec9a527b9592f2bc7b3bc2e2bffc77462ba (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
(module
 (type $0 (func (param i32) (result i32)))
 (type $1 (func (result i32)))
 (type $2 (func (param i32)))
 (type $3 (func))
 (import "env" "table" (table 9 9 anyfunc))
 (func $break-and-binary (; 0 ;) (type $1) (result i32)
  (block $label$1 (result i32)
   (unreachable)
  )
 )
 (func $call-and-unary (; 1 ;) (type $0) (param $0 i32) (result i32)
  (unreachable)
 )
 (func $tee (; 2 ;) (type $2) (param $0 i32)
  (local $1 f32)
  (unreachable)
 )
 (func $tee2 (; 3 ;) (type $3)
  (local $0 f32)
  (if
   (i32.const 259)
   (unreachable)
  )
 )
 (func $select (; 4 ;) (type $3)
  (unreachable)
 )
 (func $untaken-break-should-have-value (; 5 ;) (type $1) (result i32)
  (block $label$1 (result i32)
   (block $label$2
    (drop
     (i32.const 0)
    )
    (unreachable)
   )
   (unreachable)
  )
 )
 (func $unreachable-in-block-but-code-before (; 6 ;) (type $0) (param $0 i32) (result i32)
  (if
   (get_local $0)
   (return
    (i32.const 127)
   )
  )
  (block $label$2 (result i32)
   (drop
    (i32.const 0)
   )
   (return
    (i32.const -32)
   )
  )
 )
 (func $br_table_unreachable_to_also_unreachable (; 7 ;) (type $1) (result i32)
  (block $label$1 (result i32)
   (block $label$2 (result i32)
    (unreachable)
   )
  )
 )
 (func $untaken-br_if (; 8 ;) (type $1) (result i32)
  (block $label$1 (result i32)
   (block $label$2
    (if
     (i32.const 0)
     (unreachable)
     (unreachable)
    )
   )
   (unreachable)
  )
 )
)