Skip to content

Commit 808d9ce

Browse files
committed
Snapshots
1 parent 4d61b9b commit 808d9ce

File tree

46 files changed

+11516
-4695
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+11516
-4695
lines changed

compiler/test/__snapshots__/functions.23afd9c9.0.snapshot

Lines changed: 220 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,54 @@ functions › lam_destructure_5
3030
(local $9 i32)
3131
(local $10 i32)
3232
(local $11 i32)
33+
(local $12 i32)
34+
(local $13 i32)
35+
(local $14 i32)
36+
(local $15 i32)
37+
(local $16 i32)
3338
(local.set $3
3439
(tuple.extract 0
3540
(tuple.make
3641
(block (result i32)
3742
(local.set $4
43+
(tuple.extract 0
44+
(tuple.make
45+
(i32.const 0)
46+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
47+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
48+
(i32.const 0)
49+
)
50+
)
51+
)
52+
)
53+
(local.set $5
54+
(tuple.extract 0
55+
(tuple.make
56+
(i32.const 0)
57+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
58+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
59+
(i32.const 0)
60+
)
61+
)
62+
)
63+
)
64+
(local.set $6
65+
(tuple.extract 0
66+
(tuple.make
67+
(i32.const 0)
68+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
69+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
70+
(i32.const 0)
71+
)
72+
)
73+
)
74+
)
75+
(local.set $9
3876
(tuple.extract 0
3977
(tuple.make
4078
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
4179
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
42-
(i32.load offset=16
80+
(i32.load offset=8
4381
(local.get $1)
4482
)
4583
)
@@ -50,7 +88,7 @@ functions › lam_destructure_5
5088
)
5189
)
5290
)
53-
(local.set $5
91+
(local.set $10
5492
(tuple.extract 0
5593
(tuple.make
5694
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
@@ -66,12 +104,12 @@ functions › lam_destructure_5
66104
)
67105
)
68106
)
69-
(local.set $6
107+
(local.set $11
70108
(tuple.extract 0
71109
(tuple.make
72110
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
73111
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
74-
(i32.load offset=8
112+
(i32.load offset=16
75113
(local.get $1)
76114
)
77115
)
@@ -82,12 +120,100 @@ functions › lam_destructure_5
82120
)
83121
)
84122
)
123+
(drop
124+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
125+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
126+
(block (result i32)
127+
(local.set $6
128+
(tuple.extract 0
129+
(tuple.make
130+
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
131+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
132+
(local.get $11)
133+
)
134+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
135+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
136+
(local.get $6)
137+
)
138+
)
139+
)
140+
)
141+
(i32.const 1879048190)
142+
)
143+
)
144+
)
145+
(drop
146+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
147+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
148+
(block (result i32)
149+
(local.set $5
150+
(tuple.extract 0
151+
(tuple.make
152+
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
153+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
154+
(local.get $10)
155+
)
156+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
157+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
158+
(local.get $5)
159+
)
160+
)
161+
)
162+
)
163+
(i32.const 1879048190)
164+
)
165+
)
166+
)
167+
(drop
168+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
169+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
170+
(block (result i32)
171+
(local.set $4
172+
(tuple.extract 0
173+
(tuple.make
174+
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
175+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
176+
(local.get $9)
177+
)
178+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
179+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
180+
(local.get $4)
181+
)
182+
)
183+
)
184+
)
185+
(i32.const 1879048190)
186+
)
187+
)
188+
)
85189
(local.set $7
190+
(tuple.extract 0
191+
(tuple.make
192+
(i32.const 0)
193+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
194+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
195+
(i32.const 0)
196+
)
197+
)
198+
)
199+
)
200+
(local.set $8
201+
(tuple.extract 0
202+
(tuple.make
203+
(i32.const 0)
204+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
205+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
206+
(i32.const 0)
207+
)
208+
)
209+
)
210+
)
211+
(local.set $12
86212
(tuple.extract 0
87213
(tuple.make
88214
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
89215
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
90-
(i32.load offset=12
216+
(i32.load offset=8
91217
(local.get $2)
92218
)
93219
)
@@ -98,12 +224,12 @@ functions › lam_destructure_5
98224
)
99225
)
100226
)
101-
(local.set $8
227+
(local.set $13
102228
(tuple.extract 0
103229
(tuple.make
104230
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
105231
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
106-
(i32.load offset=8
232+
(i32.load offset=12
107233
(local.get $2)
108234
)
109235
)
@@ -114,7 +240,51 @@ functions › lam_destructure_5
114240
)
115241
)
116242
)
117-
(local.set $9
243+
(drop
244+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
245+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
246+
(block (result i32)
247+
(local.set $8
248+
(tuple.extract 0
249+
(tuple.make
250+
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
251+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
252+
(local.get $13)
253+
)
254+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
255+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
256+
(local.get $8)
257+
)
258+
)
259+
)
260+
)
261+
(i32.const 1879048190)
262+
)
263+
)
264+
)
265+
(drop
266+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
267+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
268+
(block (result i32)
269+
(local.set $7
270+
(tuple.extract 0
271+
(tuple.make
272+
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
273+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
274+
(local.get $12)
275+
)
276+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
277+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
278+
(local.get $7)
279+
)
280+
)
281+
)
282+
)
283+
(i32.const 1879048190)
284+
)
285+
)
286+
)
287+
(local.set $14
118288
(tuple.extract 0
119289
(tuple.make
120290
(call_indirect (type $i32_i32_i32_=>_i32)
@@ -131,7 +301,7 @@ functions › lam_destructure_5
131301
)
132302
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
133303
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
134-
(local.get $6)
304+
(local.get $4)
135305
)
136306
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
137307
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
@@ -148,7 +318,7 @@ functions › lam_destructure_5
148318
)
149319
)
150320
)
151-
(local.set $10
321+
(local.set $15
152322
(tuple.extract 0
153323
(tuple.make
154324
(call_indirect (type $i32_i32_i32_=>_i32)
@@ -165,11 +335,11 @@ functions › lam_destructure_5
165335
)
166336
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
167337
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
168-
(local.get $9)
338+
(local.get $14)
169339
)
170340
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
171341
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
172-
(local.get $4)
342+
(local.get $6)
173343
)
174344
(i32.load offset=8
175345
(local.get $3)
@@ -182,7 +352,7 @@ functions › lam_destructure_5
182352
)
183353
)
184354
)
185-
(local.set $11
355+
(local.set $16
186356
(tuple.extract 0
187357
(tuple.make
188358
(call_indirect (type $i32_i32_i32_=>_i32)
@@ -199,11 +369,11 @@ functions › lam_destructure_5
199369
)
200370
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
201371
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
202-
(local.get $10)
372+
(local.get $15)
203373
)
204374
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
205375
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
206-
(local.get $8)
376+
(local.get $7)
207377
)
208378
(i32.load offset=8
209379
(local.get $3)
@@ -230,11 +400,11 @@ functions › lam_destructure_5
230400
)
231401
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
232402
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
233-
(local.get $11)
403+
(local.get $16)
234404
)
235405
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
236406
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
237-
(local.get $7)
407+
(local.get $8)
238408
)
239409
(i32.load offset=8
240410
(local.get $3)
@@ -281,6 +451,24 @@ functions › lam_destructure_5
281451
(local.get $6)
282452
)
283453
)
454+
(drop
455+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
456+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
457+
(local.get $9)
458+
)
459+
)
460+
(drop
461+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
462+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
463+
(local.get $10)
464+
)
465+
)
466+
(drop
467+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
468+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
469+
(local.get $11)
470+
)
471+
)
284472
(drop
285473
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
286474
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
@@ -296,19 +484,31 @@ functions › lam_destructure_5
296484
(drop
297485
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
298486
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
299-
(local.get $9)
487+
(local.get $12)
300488
)
301489
)
302490
(drop
303491
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
304492
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
305-
(local.get $10)
493+
(local.get $13)
306494
)
307495
)
308496
(drop
309497
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
310498
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
311-
(local.get $11)
499+
(local.get $14)
500+
)
501+
)
502+
(drop
503+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
504+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
505+
(local.get $15)
506+
)
507+
)
508+
(drop
509+
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
510+
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
511+
(local.get $16)
312512
)
313513
)
314514
(local.get $3)

0 commit comments

Comments
 (0)