Debian Codegraph @

tests/snapshots/testsuite/stack.wast/6.print

raw
1 (module
2 (type $proc (;0;) (func))
3 (type (;1;) (func (param i32)))
4 (type (;2;) (func (result i32)))
5 (table (;0;) 1 funcref)
6 (func (;0;) (type $proc)
7 block ;; label = @1
8 i32.const 0
9 call_indirect (type $proc)
10 end
11 loop ;; label = @1
12 i32.const 0
13 call_indirect (type $proc)
14 end
15 i32.const 0
16 if ;; label = @1
17 i32.const 0
18 call_indirect (type $proc)
19 end
20 i32.const 0
21 if ;; label = @1
22 i32.const 0
23 call_indirect (type $proc)
24 else
25 i32.const 0
26 call_indirect (type $proc)
27 end
28 block ;; label = @1
29 i32.const 0
30 call_indirect (type $proc)
31 end
32 loop ;; label = @1
33 i32.const 0
34 call_indirect (type $proc)
35 end
36 i32.const 0
37 if ;; label = @1
38 i32.const 0
39 call_indirect (type $proc)
40 end
41 i32.const 0
42 if ;; label = @1
43 i32.const 0
44 call_indirect (type $proc)
45 else
46 i32.const 0
47 call_indirect (type $proc)
48 end
49 block ;; label = @1
50 i32.const 0
51 i32.const 0
52 call_indirect (type 1)
53 end
54 loop ;; label = @1
55 i32.const 0
56 i32.const 0
57 call_indirect (type 1)
58 end
59 i32.const 0
60 if ;; label = @1
61 i32.const 0
62 i32.const 0
63 call_indirect (type 1)
64 end
65 i32.const 0
66 if ;; label = @1
67 i32.const 0
68 i32.const 0
69 call_indirect (type 1)
70 else
71 i32.const 0
72 i32.const 0
73 call_indirect (type 1)
74 end
75 block (result i32) ;; label = @1
76 i32.const 0
77 call_indirect (type 2)
78 end
79 drop
80 loop (result i32) ;; label = @1
81 i32.const 0
82 call_indirect (type 2)
83 end
84 drop
85 i32.const 0
86 if (result i32) ;; label = @1
87 i32.const 0
88 call_indirect (type 2)
89 else
90 i32.const 0
91 call_indirect (type 2)
92 end
93 drop
94 block ;; label = @1
95 i32.const 0
96 call_indirect (type $proc)
97 end
98 loop ;; label = @1
99 i32.const 0
100 call_indirect (type $proc)
101 end
102 i32.const 0
103 if ;; label = @1
104 i32.const 0
105 call_indirect (type $proc)
106 end
107 i32.const 0
108 if ;; label = @1
109 i32.const 0
110 call_indirect (type $proc)
111 else
112 i32.const 0
113 call_indirect (type $proc)
114 end
115 block ;; label = @1
116 i32.const 0
117 call_indirect (type $proc)
118 end
119 loop ;; label = @1
120 i32.const 0
121 call_indirect (type $proc)
122 end
123 i32.const 0
124 if ;; label = @1
125 i32.const 0
126 call_indirect (type $proc)
127 end
128 i32.const 0
129 if ;; label = @1
130 i32.const 0
131 call_indirect (type $proc)
132 else
133 i32.const 0
134 call_indirect (type $proc)
135 end
136 block ;; label = @1
137 i32.const 0
138 call_indirect (type $proc)
139 end
140 loop ;; label = @1
141 i32.const 0
142 call_indirect (type $proc)
143 end
144 i32.const 0
145 if ;; label = @1
146 i32.const 0
147 call_indirect (type $proc)
148 end
149 i32.const 0
150 if ;; label = @1
151 i32.const 0
152 call_indirect (type $proc)
153 else
154 i32.const 0
155 call_indirect (type $proc)
156 end
157 block ;; label = @1
158 i32.const 0
159 i32.const 0
160 call_indirect (type 1)
161 end
162 loop ;; label = @1
163 i32.const 0
164 i32.const 0
165 call_indirect (type 1)
166 end
167 i32.const 0
168 if ;; label = @1
169 i32.const 0
170 i32.const 0
171 call_indirect (type 1)
172 end
173 i32.const 0
174 if ;; label = @1
175 i32.const 0
176 i32.const 0
177 call_indirect (type 1)
178 else
179 i32.const 0
180 i32.const 0
181 call_indirect (type 1)
182 end
183 block (result i32) ;; label = @1
184 i32.const 0
185 call_indirect (type 2)
186 end
187 drop
188 loop (result i32) ;; label = @1
189 i32.const 0
190 call_indirect (type 2)
191 end
192 drop
193 i32.const 0
194 if (result i32) ;; label = @1
195 i32.const 0
196 call_indirect (type 2)
197 else
198 i32.const 0
199 call_indirect (type 2)
200 end
201 drop
202 block ;; label = @1
203 i32.const 0
204 call_indirect (type $proc)
205 end
206 loop ;; label = @1
207 i32.const 0
208 call_indirect (type $proc)
209 end
210 i32.const 0
211 if ;; label = @1
212 i32.const 0
213 call_indirect (type $proc)
214 end
215 i32.const 0
216 if ;; label = @1
217 i32.const 0
218 call_indirect (type $proc)
219 else
220 i32.const 0
221 call_indirect (type $proc)
222 end
223 i32.const 0
224 call_indirect (type $proc)
225 )
226 )