|
15 | 15 | (type (;4;) (func (param "x" 2) (param "y" u32) (result 3)))
|
16 | 16 | (import "foo" (func (;0;) (type 4)))
|
17 | 17 | (core module (;0;)
|
18 |
| - (type (;0;) (func (param i32 i32) (result i32))) |
| 18 | + (type (;0;) (func (param i32 i32 i32) (result i32))) |
19 | 19 | (type (;1;) (func (result i64)))
|
20 |
| - (type (;2;) (func (param i32 i32 i32) (result i32))) |
21 |
| - (type (;3;) (func (param i32) (result i32))) |
22 |
| - (type (;4;) (func (param i32))) |
| 20 | + (type (;2;) (func (param i32) (result i32))) |
| 21 | + (type (;3;) (func (param i32))) |
| 22 | + (type (;4;) (func (param i32 i32) (result i32))) |
23 | 23 | (type (;5;) (func (param i32 i32)))
|
24 | 24 | (type (;6;) (func (param i32 i32 i32 i32) (result i32)))
|
25 | 25 | (import "$root" "[async-lower]foo" (func (;0;) (type 0)))
|
26 | 26 | (import "foo:foo/bar" "[async-lower]foo" (func (;1;) (type 0)))
|
27 | 27 | (import "$root" "[stream-new-2]foo" (func (;2;) (type 1)))
|
28 |
| - (import "$root" "[stream-read-2]foo" (func (;3;) (type 2))) |
29 |
| - (import "$root" "[stream-write-2]foo" (func (;4;) (type 2))) |
30 |
| - (import "$root" "[stream-cancel-read-2]foo" (func (;5;) (type 3))) |
31 |
| - (import "$root" "[stream-cancel-write-2]foo" (func (;6;) (type 3))) |
32 |
| - (import "$root" "[stream-close-readable-2]foo" (func (;7;) (type 4))) |
33 |
| - (import "$root" "[stream-close-writable-2]foo" (func (;8;) (type 4))) |
| 28 | + (import "$root" "[stream-read-2]foo" (func (;3;) (type 0))) |
| 29 | + (import "$root" "[stream-write-2]foo" (func (;4;) (type 0))) |
| 30 | + (import "$root" "[stream-cancel-read-2]foo" (func (;5;) (type 2))) |
| 31 | + (import "$root" "[stream-cancel-write-2]foo" (func (;6;) (type 2))) |
| 32 | + (import "$root" "[stream-close-readable-2]foo" (func (;7;) (type 3))) |
| 33 | + (import "$root" "[stream-close-writable-2]foo" (func (;8;) (type 3))) |
34 | 34 | (import "foo:foo/bar" "[stream-new-2]foo" (func (;9;) (type 1)))
|
35 |
| - (import "foo:foo/bar" "[stream-read-2]foo" (func (;10;) (type 2))) |
36 |
| - (import "foo:foo/bar" "[stream-write-2]foo" (func (;11;) (type 2))) |
37 |
| - (import "foo:foo/bar" "[stream-cancel-read-2]foo" (func (;12;) (type 3))) |
38 |
| - (import "foo:foo/bar" "[stream-cancel-write-2]foo" (func (;13;) (type 3))) |
39 |
| - (import "foo:foo/bar" "[stream-close-readable-2]foo" (func (;14;) (type 4))) |
40 |
| - (import "foo:foo/bar" "[stream-close-writable-2]foo" (func (;15;) (type 4))) |
| 35 | + (import "foo:foo/bar" "[stream-read-2]foo" (func (;10;) (type 0))) |
| 36 | + (import "foo:foo/bar" "[stream-write-2]foo" (func (;11;) (type 0))) |
| 37 | + (import "foo:foo/bar" "[stream-cancel-read-2]foo" (func (;12;) (type 2))) |
| 38 | + (import "foo:foo/bar" "[stream-cancel-write-2]foo" (func (;13;) (type 2))) |
| 39 | + (import "foo:foo/bar" "[stream-close-readable-2]foo" (func (;14;) (type 3))) |
| 40 | + (import "foo:foo/bar" "[stream-close-writable-2]foo" (func (;15;) (type 3))) |
41 | 41 | (import "$root" "[future-new-0]foo" (func (;16;) (type 1)))
|
42 |
| - (import "$root" "[future-read-0]foo" (func (;17;) (type 0))) |
43 |
| - (import "$root" "[future-write-0]foo" (func (;18;) (type 0))) |
44 |
| - (import "$root" "[future-cancel-read-0]foo" (func (;19;) (type 3))) |
45 |
| - (import "$root" "[future-cancel-write-0]foo" (func (;20;) (type 3))) |
46 |
| - (import "$root" "[future-close-readable-0]foo" (func (;21;) (type 4))) |
47 |
| - (import "$root" "[future-close-writable-0]foo" (func (;22;) (type 4))) |
| 42 | + (import "$root" "[future-read-0]foo" (func (;17;) (type 4))) |
| 43 | + (import "$root" "[future-write-0]foo" (func (;18;) (type 4))) |
| 44 | + (import "$root" "[future-cancel-read-0]foo" (func (;19;) (type 2))) |
| 45 | + (import "$root" "[future-cancel-write-0]foo" (func (;20;) (type 2))) |
| 46 | + (import "$root" "[future-close-readable-0]foo" (func (;21;) (type 3))) |
| 47 | + (import "$root" "[future-close-writable-0]foo" (func (;22;) (type 3))) |
48 | 48 | (import "foo:foo/bar" "[future-new-0]foo" (func (;23;) (type 1)))
|
49 |
| - (import "foo:foo/bar" "[future-read-0]foo" (func (;24;) (type 0))) |
50 |
| - (import "foo:foo/bar" "[future-write-0]foo" (func (;25;) (type 0))) |
51 |
| - (import "foo:foo/bar" "[future-cancel-read-0]foo" (func (;26;) (type 3))) |
52 |
| - (import "foo:foo/bar" "[future-cancel-write-0]foo" (func (;27;) (type 3))) |
53 |
| - (import "foo:foo/bar" "[future-close-readable-0]foo" (func (;28;) (type 4))) |
54 |
| - (import "foo:foo/bar" "[future-close-writable-0]foo" (func (;29;) (type 4))) |
| 49 | + (import "foo:foo/bar" "[future-read-0]foo" (func (;24;) (type 4))) |
| 50 | + (import "foo:foo/bar" "[future-write-0]foo" (func (;25;) (type 4))) |
| 51 | + (import "foo:foo/bar" "[future-cancel-read-0]foo" (func (;26;) (type 2))) |
| 52 | + (import "foo:foo/bar" "[future-cancel-write-0]foo" (func (;27;) (type 2))) |
| 53 | + (import "foo:foo/bar" "[future-close-readable-0]foo" (func (;28;) (type 3))) |
| 54 | + (import "foo:foo/bar" "[future-close-writable-0]foo" (func (;29;) (type 3))) |
55 | 55 | (import "$root" "[future-new-1]foo" (func (;30;) (type 1)))
|
56 |
| - (import "$root" "[future-read-1]foo" (func (;31;) (type 0))) |
57 |
| - (import "$root" "[future-write-1]foo" (func (;32;) (type 0))) |
58 |
| - (import "$root" "[future-cancel-read-1]foo" (func (;33;) (type 3))) |
59 |
| - (import "$root" "[future-cancel-write-1]foo" (func (;34;) (type 3))) |
60 |
| - (import "$root" "[future-close-readable-1]foo" (func (;35;) (type 4))) |
61 |
| - (import "$root" "[future-close-writable-1]foo" (func (;36;) (type 4))) |
| 56 | + (import "$root" "[future-read-1]foo" (func (;31;) (type 4))) |
| 57 | + (import "$root" "[future-write-1]foo" (func (;32;) (type 4))) |
| 58 | + (import "$root" "[future-cancel-read-1]foo" (func (;33;) (type 2))) |
| 59 | + (import "$root" "[future-cancel-write-1]foo" (func (;34;) (type 2))) |
| 60 | + (import "$root" "[future-close-readable-1]foo" (func (;35;) (type 3))) |
| 61 | + (import "$root" "[future-close-writable-1]foo" (func (;36;) (type 3))) |
62 | 62 | (import "foo:foo/bar" "[future-new-1]foo" (func (;37;) (type 1)))
|
63 |
| - (import "foo:foo/bar" "[future-read-1]foo" (func (;38;) (type 0))) |
64 |
| - (import "foo:foo/bar" "[future-write-1]foo" (func (;39;) (type 0))) |
65 |
| - (import "foo:foo/bar" "[future-cancel-read-1]foo" (func (;40;) (type 3))) |
66 |
| - (import "foo:foo/bar" "[future-cancel-write-1]foo" (func (;41;) (type 3))) |
67 |
| - (import "foo:foo/bar" "[future-close-readable-1]foo" (func (;42;) (type 4))) |
68 |
| - (import "foo:foo/bar" "[future-close-writable-1]foo" (func (;43;) (type 4))) |
| 63 | + (import "foo:foo/bar" "[future-read-1]foo" (func (;38;) (type 4))) |
| 64 | + (import "foo:foo/bar" "[future-write-1]foo" (func (;39;) (type 4))) |
| 65 | + (import "foo:foo/bar" "[future-cancel-read-1]foo" (func (;40;) (type 2))) |
| 66 | + (import "foo:foo/bar" "[future-cancel-write-1]foo" (func (;41;) (type 2))) |
| 67 | + (import "foo:foo/bar" "[future-close-readable-1]foo" (func (;42;) (type 3))) |
| 68 | + (import "foo:foo/bar" "[future-close-writable-1]foo" (func (;43;) (type 3))) |
69 | 69 | (import "[export]$root" "[stream-new-2]foo" (func (;44;) (type 1)))
|
70 |
| - (import "[export]$root" "[stream-read-2]foo" (func (;45;) (type 2))) |
71 |
| - (import "[export]$root" "[stream-write-2]foo" (func (;46;) (type 2))) |
72 |
| - (import "[export]$root" "[stream-cancel-read-2]foo" (func (;47;) (type 3))) |
73 |
| - (import "[export]$root" "[stream-cancel-write-2]foo" (func (;48;) (type 3))) |
74 |
| - (import "[export]$root" "[stream-close-readable-2]foo" (func (;49;) (type 4))) |
75 |
| - (import "[export]$root" "[stream-close-writable-2]foo" (func (;50;) (type 4))) |
| 70 | + (import "[export]$root" "[stream-read-2]foo" (func (;45;) (type 0))) |
| 71 | + (import "[export]$root" "[stream-write-2]foo" (func (;46;) (type 0))) |
| 72 | + (import "[export]$root" "[stream-cancel-read-2]foo" (func (;47;) (type 2))) |
| 73 | + (import "[export]$root" "[stream-cancel-write-2]foo" (func (;48;) (type 2))) |
| 74 | + (import "[export]$root" "[stream-close-readable-2]foo" (func (;49;) (type 3))) |
| 75 | + (import "[export]$root" "[stream-close-writable-2]foo" (func (;50;) (type 3))) |
76 | 76 | (import "[export]foo:foo/bar" "[stream-new-2]foo" (func (;51;) (type 1)))
|
77 |
| - (import "[export]foo:foo/bar" "[stream-read-2]foo" (func (;52;) (type 2))) |
78 |
| - (import "[export]foo:foo/bar" "[stream-write-2]foo" (func (;53;) (type 2))) |
79 |
| - (import "[export]foo:foo/bar" "[stream-cancel-read-2]foo" (func (;54;) (type 3))) |
80 |
| - (import "[export]foo:foo/bar" "[stream-cancel-write-2]foo" (func (;55;) (type 3))) |
81 |
| - (import "[export]foo:foo/bar" "[stream-close-readable-2]foo" (func (;56;) (type 4))) |
82 |
| - (import "[export]foo:foo/bar" "[stream-close-writable-2]foo" (func (;57;) (type 4))) |
| 77 | + (import "[export]foo:foo/bar" "[stream-read-2]foo" (func (;52;) (type 0))) |
| 78 | + (import "[export]foo:foo/bar" "[stream-write-2]foo" (func (;53;) (type 0))) |
| 79 | + (import "[export]foo:foo/bar" "[stream-cancel-read-2]foo" (func (;54;) (type 2))) |
| 80 | + (import "[export]foo:foo/bar" "[stream-cancel-write-2]foo" (func (;55;) (type 2))) |
| 81 | + (import "[export]foo:foo/bar" "[stream-close-readable-2]foo" (func (;56;) (type 3))) |
| 82 | + (import "[export]foo:foo/bar" "[stream-close-writable-2]foo" (func (;57;) (type 3))) |
83 | 83 | (import "[export]$root" "[future-new-0]foo" (func (;58;) (type 1)))
|
84 |
| - (import "[export]$root" "[future-read-0]foo" (func (;59;) (type 0))) |
85 |
| - (import "[export]$root" "[future-write-0]foo" (func (;60;) (type 0))) |
86 |
| - (import "[export]$root" "[future-cancel-read-0]foo" (func (;61;) (type 3))) |
87 |
| - (import "[export]$root" "[future-cancel-write-0]foo" (func (;62;) (type 3))) |
88 |
| - (import "[export]$root" "[future-close-readable-0]foo" (func (;63;) (type 4))) |
89 |
| - (import "[export]$root" "[future-close-writable-0]foo" (func (;64;) (type 4))) |
| 84 | + (import "[export]$root" "[future-read-0]foo" (func (;59;) (type 4))) |
| 85 | + (import "[export]$root" "[future-write-0]foo" (func (;60;) (type 4))) |
| 86 | + (import "[export]$root" "[future-cancel-read-0]foo" (func (;61;) (type 2))) |
| 87 | + (import "[export]$root" "[future-cancel-write-0]foo" (func (;62;) (type 2))) |
| 88 | + (import "[export]$root" "[future-close-readable-0]foo" (func (;63;) (type 3))) |
| 89 | + (import "[export]$root" "[future-close-writable-0]foo" (func (;64;) (type 3))) |
90 | 90 | (import "[export]foo:foo/bar" "[future-new-0]foo" (func (;65;) (type 1)))
|
91 |
| - (import "[export]foo:foo/bar" "[future-read-0]foo" (func (;66;) (type 0))) |
92 |
| - (import "[export]foo:foo/bar" "[future-write-0]foo" (func (;67;) (type 0))) |
93 |
| - (import "[export]foo:foo/bar" "[future-cancel-read-0]foo" (func (;68;) (type 3))) |
94 |
| - (import "[export]foo:foo/bar" "[future-cancel-write-0]foo" (func (;69;) (type 3))) |
95 |
| - (import "[export]foo:foo/bar" "[future-close-readable-0]foo" (func (;70;) (type 4))) |
96 |
| - (import "[export]foo:foo/bar" "[future-close-writable-0]foo" (func (;71;) (type 4))) |
| 91 | + (import "[export]foo:foo/bar" "[future-read-0]foo" (func (;66;) (type 4))) |
| 92 | + (import "[export]foo:foo/bar" "[future-write-0]foo" (func (;67;) (type 4))) |
| 93 | + (import "[export]foo:foo/bar" "[future-cancel-read-0]foo" (func (;68;) (type 2))) |
| 94 | + (import "[export]foo:foo/bar" "[future-cancel-write-0]foo" (func (;69;) (type 2))) |
| 95 | + (import "[export]foo:foo/bar" "[future-close-readable-0]foo" (func (;70;) (type 3))) |
| 96 | + (import "[export]foo:foo/bar" "[future-close-writable-0]foo" (func (;71;) (type 3))) |
97 | 97 | (import "[export]$root" "[future-new-1]foo" (func (;72;) (type 1)))
|
98 |
| - (import "[export]$root" "[future-read-1]foo" (func (;73;) (type 0))) |
99 |
| - (import "[export]$root" "[future-write-1]foo" (func (;74;) (type 0))) |
100 |
| - (import "[export]$root" "[future-cancel-read-1]foo" (func (;75;) (type 3))) |
101 |
| - (import "[export]$root" "[future-cancel-write-1]foo" (func (;76;) (type 3))) |
102 |
| - (import "[export]$root" "[future-close-readable-1]foo" (func (;77;) (type 4))) |
103 |
| - (import "[export]$root" "[future-close-writable-1]foo" (func (;78;) (type 4))) |
| 98 | + (import "[export]$root" "[future-read-1]foo" (func (;73;) (type 4))) |
| 99 | + (import "[export]$root" "[future-write-1]foo" (func (;74;) (type 4))) |
| 100 | + (import "[export]$root" "[future-cancel-read-1]foo" (func (;75;) (type 2))) |
| 101 | + (import "[export]$root" "[future-cancel-write-1]foo" (func (;76;) (type 2))) |
| 102 | + (import "[export]$root" "[future-close-readable-1]foo" (func (;77;) (type 3))) |
| 103 | + (import "[export]$root" "[future-close-writable-1]foo" (func (;78;) (type 3))) |
104 | 104 | (import "[export]foo:foo/bar" "[future-new-1]foo" (func (;79;) (type 1)))
|
105 |
| - (import "[export]foo:foo/bar" "[future-read-1]foo" (func (;80;) (type 0))) |
106 |
| - (import "[export]foo:foo/bar" "[future-write-1]foo" (func (;81;) (type 0))) |
107 |
| - (import "[export]foo:foo/bar" "[future-cancel-read-1]foo" (func (;82;) (type 3))) |
108 |
| - (import "[export]foo:foo/bar" "[future-cancel-write-1]foo" (func (;83;) (type 3))) |
109 |
| - (import "[export]foo:foo/bar" "[future-close-readable-1]foo" (func (;84;) (type 4))) |
110 |
| - (import "[export]foo:foo/bar" "[future-close-writable-1]foo" (func (;85;) (type 4))) |
| 105 | + (import "[export]foo:foo/bar" "[future-read-1]foo" (func (;80;) (type 4))) |
| 106 | + (import "[export]foo:foo/bar" "[future-write-1]foo" (func (;81;) (type 4))) |
| 107 | + (import "[export]foo:foo/bar" "[future-cancel-read-1]foo" (func (;82;) (type 2))) |
| 108 | + (import "[export]foo:foo/bar" "[future-cancel-write-1]foo" (func (;83;) (type 2))) |
| 109 | + (import "[export]foo:foo/bar" "[future-close-readable-1]foo" (func (;84;) (type 3))) |
| 110 | + (import "[export]foo:foo/bar" "[future-close-writable-1]foo" (func (;85;) (type 3))) |
111 | 111 | (memory (;0;) 1)
|
112 | 112 | (export "[async-lift-stackful]foo" (func 86))
|
113 | 113 | (export "[async-lift-stackful]foo:foo/bar#foo" (func 87))
|
|
128 | 128 | )
|
129 | 129 | )
|
130 | 130 | (core module (;1;)
|
131 |
| - (type (;0;) (func (param i32 i32) (result i32))) |
| 131 | + (type (;0;) (func (param i32 i32 i32) (result i32))) |
132 | 132 | (type (;1;) (func (param i32 i32 i32) (result i32)))
|
133 | 133 | (type (;2;) (func (param i32 i32) (result i32)))
|
134 | 134 | (table (;0;) 26 26 funcref)
|
|
159 | 159 | (export "24" (func $"[export]foo:foo/bar-[future-read-1]foo"))
|
160 | 160 | (export "25" (func $"[export]foo:foo/bar-[future-write-1]foo"))
|
161 | 161 | (export "$imports" (table 0))
|
162 |
| - (func $"indirect-$root-[async-lower]foo" (;0;) (type 0) (param i32 i32) (result i32) |
| 162 | + (func $"indirect-$root-[async-lower]foo" (;0;) (type 0) (param i32 i32 i32) (result i32) |
163 | 163 | local.get 0
|
164 | 164 | local.get 1
|
| 165 | + local.get 2 |
165 | 166 | i32.const 0
|
166 | 167 | call_indirect (type 0)
|
167 | 168 | )
|
|
203 | 204 | i32.const 6
|
204 | 205 | call_indirect (type 2)
|
205 | 206 | )
|
206 |
| - (func $"indirect-foo:foo/bar-[async-lower]foo" (;7;) (type 0) (param i32 i32) (result i32) |
| 207 | + (func $"indirect-foo:foo/bar-[async-lower]foo" (;7;) (type 0) (param i32 i32 i32) (result i32) |
207 | 208 | local.get 0
|
208 | 209 | local.get 1
|
| 210 | + local.get 2 |
209 | 211 | i32.const 7
|
210 | 212 | call_indirect (type 0)
|
211 | 213 | )
|
|
328 | 330 | )
|
329 | 331 | )
|
330 | 332 | (core module (;2;)
|
331 |
| - (type (;0;) (func (param i32 i32) (result i32))) |
| 333 | + (type (;0;) (func (param i32 i32 i32) (result i32))) |
332 | 334 | (type (;1;) (func (param i32 i32 i32) (result i32)))
|
333 | 335 | (type (;2;) (func (param i32 i32) (result i32)))
|
334 | 336 | (import "" "0" (func (;0;) (type 0)))
|
|
0 commit comments