1
1
(component
2
- (type (;0;) (record ))
3
- (type (;1;) (record ( field " a " u32) ( field " b " u32 )))
4
- (type (;2;) (flags " a " " b " " c " " d " " e " " f " " g " " h " " i " ))
5
- (type (;3;) (record ( field " a " 1 ) ( field " b " u32) ( field " c " 0 ) ( field " d " string) ( field " e " 2 ) ))
6
- (type (;4;) s32 )
7
- (type (;5;) (tuple 4 ))
8
- (type (;6;) (tuple char u32))
2
+ (type (;0;) (tuple char u32 ))
3
+ (type (;1;) (func ( param " x " 0 )))
4
+ (type (;2;) (func ( result 0 ) ))
5
+ (type (;3;) (record))
6
+ (type (;4;) ( func ( param " x " 3 )) )
7
+ (type (;5;) (func ( result 3 ) ))
8
+ (type (;6;) (record ( field " a " u32) ( field " b " u32) ))
9
9
(type (;7;) (func (param " x" 6 )))
10
10
(type (;8;) (func (result 6 )))
11
- (type (;9;) (func (param " x" 0 )))
12
- (type (;10;) (func (result 0 )))
13
- (type (;11;) (func (param " x" 1 )))
14
- (type (;12;) (func (result 1 )))
15
- (type (;13;) (func (param " x" 2 )))
16
- (type (;14;) (func (result 2 )))
17
- (type (;15;) (func (param " x" 3 )))
18
- (type (;16;) (func (result 3 )))
19
- (type (;17;) (func (param " e" 5 ) (result s32)))
20
- (type (;18;)
11
+ (type (;9;) (record (field " a" bool) (field " b" bool) (field " c" bool) (field " d" bool) (field " e" bool) (field " f" bool) (field " g" bool) (field " h" bool) (field " i" bool)))
12
+ (type (;10;) (func (param " x" 9 )))
13
+ (type (;11;) (func (result 9 )))
14
+ (type (;12;) (record (field " a" 6 ) (field " b" u32) (field " c" 3 ) (field " d" string) (field " e" 9 )))
15
+ (type (;13;) (func (param " x" 12 )))
16
+ (type (;14;) (func (result 12 )))
17
+ (type (;15;) s32)
18
+ (type (;16;) (tuple 15 ))
19
+ (type (;17;) (func (param " e" 16 ) (result s32)))
20
+ (type (;18;) (flags " a" " b" " c" " d" " e" " f" " g" " h" " i" ))
21
+ (type (;19;) (record (field " a" 6 ) (field " b" u32) (field " c" 3 ) (field " d" string) (field " e" 18 )))
22
+ (type (;20;) (func (param " x" 18 )))
23
+ (type (;21;) (func (result 18 )))
24
+ (type (;22;) (func (param " x" 19 )))
25
+ (type (;23;) (func (result 19 )))
26
+ (type (;24;)
21
27
(instance
22
- (alias outer 1 0 (type (;0;) ))
28
+ (alias outer 1 3 (type (;0;) ))
23
29
(export " empty" (type (eq 0 )))
24
- (alias outer 1 1 (type (;1;) ))
30
+ (alias outer 1 6 (type (;1;) ))
25
31
(export " scalars" (type (eq 1 )))
26
- (alias outer 1 2 (type (;2;) ))
32
+ (alias outer 1 18 (type (;2;) ))
27
33
(export " really-flags" (type (eq 2 )))
28
- (alias outer 1 3 (type (;3;) ))
34
+ (alias outer 1 19 (type (;3;) ))
29
35
(export " aggregates" (type (eq 3 )))
30
- (alias outer 1 4 (type (;4;) ))
36
+ (alias outer 1 15 (type (;4;) ))
31
37
(export " int-typedef" (type (eq 4 )))
32
- (alias outer 1 5 (type (;5;) ))
38
+ (alias outer 1 16 (type (;5;) ))
33
39
(export " tuple-typedef2" (type (eq 5 )))
34
- (alias outer 1 7 (type (;6;) ))
40
+ (alias outer 1 1 (type (;6;) ))
35
41
(export " tuple-arg" (func (type 6 )))
36
- (alias outer 1 8 (type (;7;) ))
42
+ (alias outer 1 2 (type (;7;) ))
37
43
(export " tuple-result" (func (type 7 )))
38
- (alias outer 1 9 (type (;8;) ))
44
+ (alias outer 1 4 (type (;8;) ))
39
45
(export " empty-arg" (func (type 8 )))
40
- (alias outer 1 10 (type (;9;) ))
46
+ (alias outer 1 5 (type (;9;) ))
41
47
(export " empty-result" (func (type 9 )))
42
- (alias outer 1 11 (type (;10;) ))
48
+ (alias outer 1 7 (type (;10;) ))
43
49
(export " scalar-arg" (func (type 10 )))
44
- (alias outer 1 12 (type (;11;) ))
50
+ (alias outer 1 8 (type (;11;) ))
45
51
(export " scalar-result" (func (type 11 )))
46
- (alias outer 1 13 (type (;12;) ))
52
+ (alias outer 1 20 (type (;12;) ))
47
53
(export " flags-arg" (func (type 12 )))
48
- (alias outer 1 14 (type (;13;) ))
54
+ (alias outer 1 21 (type (;13;) ))
49
55
(export " flags-result" (func (type 13 )))
50
- (alias outer 1 15 (type (;14;) ))
56
+ (alias outer 1 22 (type (;14;) ))
51
57
(export " aggregate-arg" (func (type 14 )))
52
- (alias outer 1 16 (type (;15;) ))
58
+ (alias outer 1 23 (type (;15;) ))
53
59
(export " aggregate-result" (func (type 15 )))
54
60
(alias outer 1 17 (type (;16;) ))
55
61
(export " typedef-inout" (func (type 16 )))
56
62
)
57
63
)
58
- (import " records" (instance (;0;) (type 18 )))
64
+ (type (;25;) (tuple s32))
65
+ (import " records" (instance (;0;) (type 24 )))
59
66
(core module (;0;)
60
67
(type (;0;) (func (param i32 i32 )))
61
68
(type (;1;) (func (param i32 )))
62
69
(type (;2;) (func ))
63
70
(type (;3;) (func (result i32 )))
64
71
(type (;4;) (func (param i32 i32 i32 i32 i32 i32 )))
65
72
(type (;5;) (func (param i32 ) (result i32 )))
66
- (type (;6;) (func (param i32 i32 i32 i32 ) (result i32 )))
73
+ (type (;6;) (func (param i32 i32 i32 i32 i32 i32 i32 i32 i32 )))
74
+ (type (;7;) (func (param i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 )))
75
+ (type (;8;) (func (param i32 i32 i32 i32 ) (result i32 )))
67
76
(import " records" " tuple-arg" (func (;0;) (type 0 )))
68
77
(import " records" " tuple-result" (func (;1;) (type 1 )))
69
78
(import " records" " empty-arg" (func (;2;) (type 2 )))
75
84
(import " records" " aggregate-arg" (func (;8;) (type 4 )))
76
85
(import " records" " aggregate-result" (func (;9;) (type 1 )))
77
86
(import " records" " typedef-inout" (func (;10;) (type 5 )))
78
- (func (;11;) (type 6 ) (param i32 i32 i32 i32 ) (result i32 )
87
+ (func (;11;) (type 0 ) (param i32 i32 )
88
+ unreachable
89
+ )
90
+ (func (;12;) (type 3 ) (result i32 )
91
+ unreachable
92
+ )
93
+ (func (;13;) (type 2 )
94
+ unreachable
95
+ )
96
+ (func (;14;) (type 2 )
97
+ unreachable
98
+ )
99
+ (func (;15;) (type 0 ) (param i32 i32 )
100
+ unreachable
101
+ )
102
+ (func (;16;) (type 3 ) (result i32 )
103
+ unreachable
104
+ )
105
+ (func (;17;) (type 6 ) (param i32 i32 i32 i32 i32 i32 i32 i32 i32 )
106
+ unreachable
107
+ )
108
+ (func (;18;) (type 3 ) (result i32 )
109
+ unreachable
110
+ )
111
+ (func (;19;) (type 7 ) (param i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 i32 )
112
+ unreachable
113
+ )
114
+ (func (;20;) (type 3 ) (result i32 )
115
+ unreachable
116
+ )
117
+ (func (;21;) (type 1 ) (param i32 ))
118
+ (func (;22;) (type 5 ) (param i32 ) (result i32 )
119
+ unreachable
120
+ )
121
+ (func (;23;) (type 8 ) (param i32 i32 i32 i32 ) (result i32 )
79
122
unreachable
80
123
)
81
124
(memory (;0;) 0 )
125
+ (export " records#tuple-arg" (func 11 ))
126
+ (export " records#tuple-result" (func 12 ))
127
+ (export " records#empty-arg" (func 13 ))
128
+ (export " records#empty-result" (func 14 ))
129
+ (export " records#scalar-arg" (func 15 ))
130
+ (export " records#scalar-result" (func 16 ))
131
+ (export " records#flags-arg" (func 17 ))
132
+ (export " records#flags-result" (func 18 ))
133
+ (export " records#aggregate-arg" (func 19 ))
134
+ (export " records#aggregate-result" (func 20 ))
135
+ (export " cabi_post_records#aggregate-result" (func 21 ))
136
+ (export " records#typedef-inout" (func 22 ))
82
137
(export " memory" (memory 0 ))
83
- (export " cabi_realloc" (func 11 ))
138
+ (export " cabi_realloc" (func 23 ))
84
139
)
85
140
(core module (;1;)
86
141
(type (;0;) (func (param i32 )))
185
240
(with " " (instance 3 ))
186
241
)
187
242
)
243
+ (alias core export 2 " records#tuple-arg" (core func (;16;) ))
244
+ (func (;11;) (type 1 ) (canon lift (core func 16 )))
245
+ (alias core export 2 " records#tuple-result" (core func (;17;) ))
246
+ (func (;12;) (type 2 ) (canon lift (core func 17 ) (memory 0 )))
247
+ (alias core export 2 " records#empty-arg" (core func (;18;) ))
248
+ (func (;13;) (type 4 ) (canon lift (core func 18 )))
249
+ (alias core export 2 " records#empty-result" (core func (;19;) ))
250
+ (func (;14;) (type 5 ) (canon lift (core func 19 )))
251
+ (alias core export 2 " records#scalar-arg" (core func (;20;) ))
252
+ (func (;15;) (type 7 ) (canon lift (core func 20 )))
253
+ (alias core export 2 " records#scalar-result" (core func (;21;) ))
254
+ (func (;16;) (type 8 ) (canon lift (core func 21 ) (memory 0 )))
255
+ (alias core export 2 " records#flags-arg" (core func (;22;) ))
256
+ (func (;17;) (type 10 ) (canon lift (core func 22 )))
257
+ (alias core export 2 " records#flags-result" (core func (;23;) ))
258
+ (func (;18;) (type 11 ) (canon lift (core func 23 ) (memory 0 )))
259
+ (alias core export 2 " records#aggregate-arg" (core func (;24;) ))
260
+ (func (;19;) (type 13 ) (canon lift (core func 24 ) (memory 0 ) (realloc 11 ) string-encoding=utf8))
261
+ (alias core export 2 " records#aggregate-result" (core func (;25;) ))
262
+ (alias core export 2 " cabi_post_records#aggregate-result" (core func (;26;) ))
263
+ (func (;20;) (type 14 ) (canon lift (core func 25 ) (memory 0 ) string-encoding=utf8 (post-return 26 )))
264
+ (alias core export 2 " records#typedef-inout" (core func (;27;) ))
265
+ (func (;21;) (type 17 ) (canon lift (core func 27 )))
266
+ (instance (;1;)
267
+ (export " empty" (type 3 ))
268
+ (export " scalars" (type 6 ))
269
+ (export " really-flags" (type 9 ))
270
+ (export " aggregates" (type 12 ))
271
+ (export " tuple-typedef" (type 25 ))
272
+ (export " int-typedef" (type 15 ))
273
+ (export " tuple-typedef2" (type 16 ))
274
+ (export " tuple-arg" (func 11 ))
275
+ (export " tuple-result" (func 12 ))
276
+ (export " empty-arg" (func 13 ))
277
+ (export " empty-result" (func 14 ))
278
+ (export " scalar-arg" (func 15 ))
279
+ (export " scalar-result" (func 16 ))
280
+ (export " flags-arg" (func 17 ))
281
+ (export " flags-result" (func 18 ))
282
+ (export " aggregate-arg" (func 19 ))
283
+ (export " aggregate-result" (func 20 ))
284
+ (export " typedef-inout" (func 21 ))
285
+ )
286
+ (export " records" (instance 1 ))
188
287
)
0 commit comments