|
10 | 10 | ;; CHECK: (type $1 (func))
|
11 | 11 |
|
12 | 12 | ;; CHECK: (rec
|
13 |
| - ;; CHECK-NEXT: (type $struct$1 (sub $struct (struct (field i32)))) |
| 13 | + ;; CHECK-NEXT: (type $struct_1 (sub $struct (struct (field i32)))) |
14 | 14 |
|
15 |
| - ;; CHECK: (type $struct$2 (sub $struct (struct (field i32)))) |
| 15 | + ;; CHECK: (type $struct_2 (sub $struct (struct (field i32)))) |
16 | 16 |
|
17 |
| - ;; CHECK: (type $struct$3 (sub $struct (struct (field i32)))) |
| 17 | + ;; CHECK: (type $struct_3 (sub $struct (struct (field i32)))) |
18 | 18 |
|
19 |
| - ;; CHECK: (type $struct$4 (sub $struct (struct (field i32)))) |
| 19 | + ;; CHECK: (type $struct_4 (sub $struct (struct (field i32)))) |
20 | 20 |
|
21 |
| - ;; CHECK: (type $struct$5 (sub $struct (struct (field i32)))) |
| 21 | + ;; CHECK: (type $struct_5 (sub $struct (struct (field i32)))) |
22 | 22 |
|
23 |
| - ;; CHECK: (global $g (ref $struct) (struct.new $struct$4 |
| 23 | + ;; CHECK: (global $g (ref $struct) (struct.new $struct_4 |
24 | 24 | ;; CHECK-NEXT: (i32.const 42)
|
25 | 25 | ;; CHECK-NEXT: ))
|
26 | 26 | (global $g (ref $struct) (struct.new $struct
|
27 | 27 | (i32.const 42)
|
28 | 28 | ))
|
29 | 29 |
|
30 |
| - ;; CHECK: (global $h (ref $struct) (struct.new $struct$5 |
| 30 | + ;; CHECK: (global $h (ref $struct) (struct.new $struct_5 |
31 | 31 | ;; CHECK-NEXT: (i32.const 42)
|
32 | 32 | ;; CHECK-NEXT: ))
|
33 | 33 | (global $h (ref $struct) (struct.new $struct
|
|
36 | 36 |
|
37 | 37 | ;; CHECK: (func $foo (type $1)
|
38 | 38 | ;; CHECK-NEXT: (drop
|
39 |
| - ;; CHECK-NEXT: (struct.new_default $struct$1) |
| 39 | + ;; CHECK-NEXT: (struct.new_default $struct_1) |
40 | 40 | ;; CHECK-NEXT: )
|
41 | 41 | ;; CHECK-NEXT: (drop
|
42 |
| - ;; CHECK-NEXT: (struct.new $struct$2 |
| 42 | + ;; CHECK-NEXT: (struct.new $struct_2 |
43 | 43 | ;; CHECK-NEXT: (i32.const 10)
|
44 | 44 | ;; CHECK-NEXT: )
|
45 | 45 | ;; CHECK-NEXT: )
|
|
57 | 57 |
|
58 | 58 | ;; CHECK: (func $another-func (type $1)
|
59 | 59 | ;; CHECK-NEXT: (drop
|
60 |
| - ;; CHECK-NEXT: (struct.new $struct$3 |
| 60 | + ;; CHECK-NEXT: (struct.new $struct_3 |
61 | 61 | ;; CHECK-NEXT: (i32.const 100)
|
62 | 62 | ;; CHECK-NEXT: )
|
63 | 63 | ;; CHECK-NEXT: )
|
|
139 | 139 | (type $struct (sub (struct (field (ref null any)))))
|
140 | 140 |
|
141 | 141 | ;; CHECK: (rec
|
142 |
| - ;; CHECK-NEXT: (type $struct$1 (sub $struct (struct (field anyref)))) |
| 142 | + ;; CHECK-NEXT: (type $struct_1 (sub $struct (struct (field anyref)))) |
143 | 143 |
|
144 |
| - ;; CHECK: (type $struct$2 (sub $struct (struct (field anyref)))) |
| 144 | + ;; CHECK: (type $struct_2 (sub $struct (struct (field anyref)))) |
145 | 145 |
|
146 |
| - ;; CHECK: (type $struct$3 (sub $struct (struct (field anyref)))) |
| 146 | + ;; CHECK: (type $struct_3 (sub $struct (struct (field anyref)))) |
147 | 147 |
|
148 | 148 | ;; CHECK: (func $foo (type $0) (param $any anyref) (param $array arrayref)
|
149 | 149 | ;; CHECK-NEXT: (drop
|
150 |
| - ;; CHECK-NEXT: (struct.new_default $struct$1) |
| 150 | + ;; CHECK-NEXT: (struct.new_default $struct_1) |
151 | 151 | ;; CHECK-NEXT: )
|
152 | 152 | ;; CHECK-NEXT: (drop
|
153 |
| - ;; CHECK-NEXT: (struct.new $struct$2 |
| 153 | + ;; CHECK-NEXT: (struct.new $struct_2 |
154 | 154 | ;; CHECK-NEXT: (ref.null none)
|
155 | 155 | ;; CHECK-NEXT: )
|
156 | 156 | ;; CHECK-NEXT: )
|
|
160 | 160 | ;; CHECK-NEXT: )
|
161 | 161 | ;; CHECK-NEXT: )
|
162 | 162 | ;; CHECK-NEXT: (drop
|
163 |
| - ;; CHECK-NEXT: (struct.new $struct$3 |
| 163 | + ;; CHECK-NEXT: (struct.new $struct_3 |
164 | 164 | ;; CHECK-NEXT: (local.get $array)
|
165 | 165 | ;; CHECK-NEXT: )
|
166 | 166 | ;; CHECK-NEXT: )
|
|
216 | 216 | (elem func $array.new)
|
217 | 217 |
|
218 | 218 | ;; CHECK: (rec
|
219 |
| - ;; CHECK-NEXT: (type $array$1 (sub $array (array (mut anyref)))) |
| 219 | + ;; CHECK-NEXT: (type $array_1 (sub $array (array (mut anyref)))) |
220 | 220 |
|
221 |
| - ;; CHECK: (type $array$2 (sub $array (array (mut anyref)))) |
| 221 | + ;; CHECK: (type $array_2 (sub $array (array (mut anyref)))) |
222 | 222 |
|
223 |
| - ;; CHECK: (type $array$3 (sub $array (array (mut anyref)))) |
| 223 | + ;; CHECK: (type $array_3 (sub $array (array (mut anyref)))) |
224 | 224 |
|
225 |
| - ;; CHECK: (type $array-func$4 (sub $array-func (array (mut funcref)))) |
| 225 | + ;; CHECK: (type $array-func_4 (sub $array-func (array (mut funcref)))) |
226 | 226 |
|
227 |
| - ;; CHECK: (type $array$5 (sub $array (array (mut anyref)))) |
| 227 | + ;; CHECK: (type $array_5 (sub $array (array (mut anyref)))) |
228 | 228 |
|
229 |
| - ;; CHECK: (type $array$6 (sub $array (array (mut anyref)))) |
| 229 | + ;; CHECK: (type $array_6 (sub $array (array (mut anyref)))) |
230 | 230 |
|
231 | 231 | ;; CHECK: (type $9 (func))
|
232 | 232 |
|
233 | 233 | ;; CHECK: (elem $0 func $array.new)
|
234 | 234 |
|
235 | 235 | ;; CHECK: (func $array.new (type $1) (param $refined (ref i31)) (param $null-any anyref)
|
236 | 236 | ;; CHECK-NEXT: (drop
|
237 |
| - ;; CHECK-NEXT: (array.new_default $array$1 |
| 237 | + ;; CHECK-NEXT: (array.new_default $array_1 |
238 | 238 | ;; CHECK-NEXT: (i32.const 5)
|
239 | 239 | ;; CHECK-NEXT: )
|
240 | 240 | ;; CHECK-NEXT: )
|
241 | 241 | ;; CHECK-NEXT: (drop
|
242 |
| - ;; CHECK-NEXT: (array.new $array$2 |
| 242 | + ;; CHECK-NEXT: (array.new $array_2 |
243 | 243 | ;; CHECK-NEXT: (ref.null none)
|
244 | 244 | ;; CHECK-NEXT: (i32.const 5)
|
245 | 245 | ;; CHECK-NEXT: )
|
246 | 246 | ;; CHECK-NEXT: )
|
247 | 247 | ;; CHECK-NEXT: (drop
|
248 |
| - ;; CHECK-NEXT: (array.new $array$3 |
| 248 | + ;; CHECK-NEXT: (array.new $array_3 |
249 | 249 | ;; CHECK-NEXT: (local.get $refined)
|
250 | 250 | ;; CHECK-NEXT: (i32.const 5)
|
251 | 251 | ;; CHECK-NEXT: )
|
|
289 | 289 |
|
290 | 290 | ;; CHECK: (func $array.new_seg (type $9)
|
291 | 291 | ;; CHECK-NEXT: (drop
|
292 |
| - ;; CHECK-NEXT: (array.new_elem $array-func$4 $0 |
| 292 | + ;; CHECK-NEXT: (array.new_elem $array-func_4 $0 |
293 | 293 | ;; CHECK-NEXT: (i32.const 0)
|
294 | 294 | ;; CHECK-NEXT: (i32.const 3)
|
295 | 295 | ;; CHECK-NEXT: )
|
|
308 | 308 |
|
309 | 309 | ;; CHECK: (func $array.new_fixed (type $1) (param $refined (ref i31)) (param $null-any anyref)
|
310 | 310 | ;; CHECK-NEXT: (drop
|
311 |
| - ;; CHECK-NEXT: (array.new_fixed $array$5 1 |
| 311 | + ;; CHECK-NEXT: (array.new_fixed $array_5 1 |
312 | 312 | ;; CHECK-NEXT: (ref.null none)
|
313 | 313 | ;; CHECK-NEXT: )
|
314 | 314 | ;; CHECK-NEXT: )
|
315 | 315 | ;; CHECK-NEXT: (drop
|
316 |
| - ;; CHECK-NEXT: (array.new_fixed $array$6 1 |
| 316 | + ;; CHECK-NEXT: (array.new_fixed $array_6 1 |
317 | 317 | ;; CHECK-NEXT: (local.get $refined)
|
318 | 318 | ;; CHECK-NEXT: )
|
319 | 319 | ;; CHECK-NEXT: )
|
|
369 | 369 | ;; CHECK: (type $empty (sub (struct )))
|
370 | 370 | (type $empty (sub (struct)))
|
371 | 371 |
|
372 |
| - ;; CHECK: (type $empty$1 (sub $empty (struct ))) |
| 372 | + ;; CHECK: (type $empty_1 (sub $empty (struct ))) |
373 | 373 |
|
374 | 374 | ;; CHECK: (type $2 (func (param anyref)))
|
375 | 375 |
|
376 | 376 | ;; CHECK: (type $struct (sub (struct (field externref) (field anyref) (field externref))))
|
377 | 377 | (type $struct (sub (struct externref anyref externref)))
|
378 | 378 |
|
379 |
| - ;; CHECK: (global $g (mut anyref) (struct.new_default $empty$1)) |
| 379 | + ;; CHECK: (global $g (mut anyref) (struct.new_default $empty_1)) |
380 | 380 | (global $g (mut anyref) (struct.new $empty))
|
381 | 381 |
|
382 | 382 | ;; CHECK: (func $0 (type $2) (param $param anyref)
|
|
428 | 428 | ;; CHECK: (type $2 (func (param (ref $subarray))))
|
429 | 429 |
|
430 | 430 | ;; CHECK: (rec
|
431 |
| - ;; CHECK-NEXT: (type $array$1 (sub $array (array (mut f32)))) |
| 431 | + ;; CHECK-NEXT: (type $array_1 (sub $array (array (mut f32)))) |
432 | 432 |
|
433 | 433 | ;; CHECK: (type $4 (struct (field (mut i32)) (field (mut i32)) (field (mut f64)) (field (mut f64)) (field (mut i32)) (field (mut f64)) (field (mut f64)) (field (mut i32)) (field (mut i32)) (field (mut i32)) (field (mut i32))))
|
434 | 434 |
|
435 | 435 | ;; CHECK: (func $1 (type $2) (param $ref (ref $subarray))
|
436 | 436 | ;; CHECK-NEXT: (drop
|
437 |
| - ;; CHECK-NEXT: (array.new_default $array$1 |
| 437 | + ;; CHECK-NEXT: (array.new_default $array_1 |
438 | 438 | ;; CHECK-NEXT: (i32.const 64)
|
439 | 439 | ;; CHECK-NEXT: )
|
440 | 440 | ;; CHECK-NEXT: )
|
|
455 | 455 | ;; CHECK: (type $A (sub (struct )))
|
456 | 456 | (type $A (sub (struct)))
|
457 | 457 |
|
458 |
| - ;; CHECK: (type $A$1 (sub $A (struct ))) |
| 458 | + ;; CHECK: (type $A_1 (sub $A (struct ))) |
459 | 459 |
|
460 | 460 | ;; CHECK: (type $2 (func (result (ref $A))))
|
461 | 461 |
|
462 | 462 | ;; CHECK: (func $0 (type $2) (result (ref $A))
|
463 |
| - ;; CHECK-NEXT: (block $label (result (ref $A$1)) |
| 463 | + ;; CHECK-NEXT: (block $label (result (ref $A_1)) |
464 | 464 | ;; CHECK-NEXT: (drop
|
465 |
| - ;; CHECK-NEXT: (br_on_cast $label (ref $A$1) (ref $A$1) |
466 |
| - ;; CHECK-NEXT: (struct.new_default $A$1) |
| 465 | + ;; CHECK-NEXT: (br_on_cast $label (ref $A_1) (ref $A_1) |
| 466 | + ;; CHECK-NEXT: (struct.new_default $A_1) |
467 | 467 | ;; CHECK-NEXT: )
|
468 | 468 | ;; CHECK-NEXT: )
|
469 | 469 | ;; CHECK-NEXT: (unreachable)
|
|
0 commit comments