|
12 | 12 | (module |
13 | 13 | (rec |
14 | 14 | ;; CHECK-TEXT: (rec |
15 | | - ;; CHECK-TEXT-NEXT: (type $described (descriptor $middle (struct))) |
| 15 | + ;; CHECK-TEXT-NEXT: (type $described (descriptor $middle) (struct)) |
16 | 16 | ;; CHECK-BIN: (rec |
17 | | - ;; CHECK-BIN-NEXT: (type $described (descriptor $middle (struct))) |
18 | | - (type $described (descriptor $middle (struct))) |
19 | | - ;; CHECK-TEXT: (type $middle (describes $described (descriptor $describing (struct)))) |
20 | | - ;; CHECK-BIN: (type $middle (describes $described (descriptor $describing (struct)))) |
21 | | - (type $middle (describes $described (descriptor $describing (struct)))) |
22 | | - ;; CHECK-TEXT: (type $describing (describes $middle (struct))) |
23 | | - ;; CHECK-BIN: (type $describing (describes $middle (struct))) |
24 | | - (type $describing (describes $middle (struct))) |
| 17 | + ;; CHECK-BIN-NEXT: (type $described (descriptor $middle) (struct)) |
| 18 | + (type $described (descriptor $middle) (struct)) |
| 19 | + ;; CHECK-TEXT: (type $middle (describes $described) (descriptor $describing) (struct)) |
| 20 | + ;; CHECK-BIN: (type $middle (describes $described) (descriptor $describing) (struct)) |
| 21 | + (type $middle (describes $described) (descriptor $describing) (struct)) |
| 22 | + ;; CHECK-TEXT: (type $describing (describes $middle) (struct)) |
| 23 | + ;; CHECK-BIN: (type $describing (describes $middle) (struct)) |
| 24 | + (type $describing (describes $middle) (struct)) |
25 | 25 | ) |
26 | 26 |
|
27 | 27 | (rec |
28 | 28 | ;; CHECK-TEXT: (type $3 (func (param anyref) (result anyref))) |
29 | 29 |
|
30 | 30 | ;; CHECK-TEXT: (rec |
31 | | - ;; CHECK-TEXT-NEXT: (type $pair (descriptor $pair.desc (struct (field i32) (field i64)))) |
| 31 | + ;; CHECK-TEXT-NEXT: (type $pair (descriptor $pair.desc) (struct (field i32) (field i64))) |
32 | 32 | ;; CHECK-BIN: (type $3 (func (param anyref) (result anyref))) |
33 | 33 |
|
34 | 34 | ;; CHECK-BIN: (rec |
35 | | - ;; CHECK-BIN-NEXT: (type $pair (descriptor $pair.desc (struct (field i32) (field i64)))) |
36 | | - (type $pair (descriptor $pair.desc (struct (field i32 i64)))) |
37 | | - ;; CHECK-TEXT: (type $pair.desc (describes $pair (struct))) |
38 | | - ;; CHECK-BIN: (type $pair.desc (describes $pair (struct))) |
39 | | - (type $pair.desc (describes $pair (struct))) |
| 35 | + ;; CHECK-BIN-NEXT: (type $pair (descriptor $pair.desc) (struct (field i32) (field i64))) |
| 36 | + (type $pair (descriptor $pair.desc) (struct (field i32 i64))) |
| 37 | + ;; CHECK-TEXT: (type $pair.desc (describes $pair) (struct)) |
| 38 | + ;; CHECK-BIN: (type $pair.desc (describes $pair) (struct)) |
| 39 | + (type $pair.desc (describes $pair) (struct)) |
40 | 40 | ) |
41 | 41 |
|
42 | 42 | (rec |
|
58 | 58 | ;; CHECK-TEXT: (type $13 (func (result (ref (exact $pair))))) |
59 | 59 |
|
60 | 60 | ;; CHECK-TEXT: (rec |
61 | | - ;; CHECK-TEXT-NEXT: (type $shared-described (shared (descriptor $shared-describing (struct)))) |
| 61 | + ;; CHECK-TEXT-NEXT: (type $shared-described (shared (descriptor $shared-describing) (struct))) |
62 | 62 | ;; CHECK-BIN: (type $6 (func)) |
63 | 63 |
|
64 | 64 | ;; CHECK-BIN: (type $7 (func (param anyref (ref null $describing)))) |
|
76 | 76 | ;; CHECK-BIN: (type $13 (func (result (ref (exact $pair))))) |
77 | 77 |
|
78 | 78 | ;; CHECK-BIN: (rec |
79 | | - ;; CHECK-BIN-NEXT: (type $shared-described (shared (descriptor $shared-describing (struct)))) |
80 | | - (type $shared-described (shared (descriptor $shared-describing (struct)))) |
81 | | - ;; CHECK-TEXT: (type $shared-describing (shared (describes $shared-described (struct)))) |
82 | | - ;; CHECK-BIN: (type $shared-describing (shared (describes $shared-described (struct)))) |
83 | | - (type $shared-describing (shared (describes $shared-described (struct)))) |
| 79 | + ;; CHECK-BIN-NEXT: (type $shared-described (shared (descriptor $shared-describing) (struct))) |
| 80 | + (type $shared-described (shared (descriptor $shared-describing) (struct))) |
| 81 | + ;; CHECK-TEXT: (type $shared-describing (shared (describes $shared-described) (struct))) |
| 82 | + ;; CHECK-BIN: (type $shared-describing (shared (describes $shared-described) (struct))) |
| 83 | + (type $shared-describing (shared (describes $shared-described) (struct))) |
84 | 84 | ) |
85 | 85 |
|
86 | 86 |
|
|
685 | 685 |
|
686 | 686 | ) |
687 | 687 | ;; CHECK-BIN-NODEBUG: (rec |
688 | | -;; CHECK-BIN-NODEBUG-NEXT: (type $0 (descriptor $1 (struct))) |
| 688 | +;; CHECK-BIN-NODEBUG-NEXT: (type $0 (descriptor $1) (struct)) |
689 | 689 |
|
690 | | -;; CHECK-BIN-NODEBUG: (type $1 (describes $0 (descriptor $2 (struct)))) |
| 690 | +;; CHECK-BIN-NODEBUG: (type $1 (describes $0) (descriptor $2) (struct)) |
691 | 691 |
|
692 | | -;; CHECK-BIN-NODEBUG: (type $2 (describes $1 (struct))) |
| 692 | +;; CHECK-BIN-NODEBUG: (type $2 (describes $1) (struct)) |
693 | 693 |
|
694 | 694 | ;; CHECK-BIN-NODEBUG: (type $3 (func (param anyref) (result anyref))) |
695 | 695 |
|
696 | 696 | ;; CHECK-BIN-NODEBUG: (rec |
697 | | -;; CHECK-BIN-NODEBUG-NEXT: (type $4 (descriptor $5 (struct (field i32) (field i64)))) |
| 697 | +;; CHECK-BIN-NODEBUG-NEXT: (type $4 (descriptor $5) (struct (field i32) (field i64))) |
698 | 698 |
|
699 | | -;; CHECK-BIN-NODEBUG: (type $5 (describes $4 (struct))) |
| 699 | +;; CHECK-BIN-NODEBUG: (type $5 (describes $4) (struct)) |
700 | 700 |
|
701 | 701 | ;; CHECK-BIN-NODEBUG: (type $6 (func)) |
702 | 702 |
|
|
715 | 715 | ;; CHECK-BIN-NODEBUG: (type $13 (func (result (ref (exact $4))))) |
716 | 716 |
|
717 | 717 | ;; CHECK-BIN-NODEBUG: (rec |
718 | | -;; CHECK-BIN-NODEBUG-NEXT: (type $14 (shared (descriptor $15 (struct)))) |
| 718 | +;; CHECK-BIN-NODEBUG-NEXT: (type $14 (shared (descriptor $15) (struct))) |
719 | 719 |
|
720 | | -;; CHECK-BIN-NODEBUG: (type $15 (shared (describes $14 (struct)))) |
| 720 | +;; CHECK-BIN-NODEBUG: (type $15 (shared (describes $14) (struct))) |
721 | 721 |
|
722 | 722 | ;; CHECK-BIN-NODEBUG: (type $16 (func (param (ref null $0) (ref null (exact $1))))) |
723 | 723 |
|
|
0 commit comments