Skip to content

Commit

Permalink
Snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
ospencer committed Mar 20, 2022
1 parent 4d61b9b commit 808d9ce
Show file tree
Hide file tree
Showing 46 changed files with 11,516 additions and 4,695 deletions.
240 changes: 220 additions & 20 deletions compiler/test/__snapshots__/functions.23afd9c9.0.snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,54 @@ functions › lam_destructure_5
(local $9 i32)
(local $10 i32)
(local $11 i32)
(local $12 i32)
(local $13 i32)
(local $14 i32)
(local $15 i32)
(local $16 i32)
(local.set $3
(tuple.extract 0
(tuple.make
(block (result i32)
(local.set $4
(tuple.extract 0
(tuple.make
(i32.const 0)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(i32.const 0)
)
)
)
)
(local.set $5
(tuple.extract 0
(tuple.make
(i32.const 0)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(i32.const 0)
)
)
)
)
(local.set $6
(tuple.extract 0
(tuple.make
(i32.const 0)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(i32.const 0)
)
)
)
)
(local.set $9
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(i32.load offset=16
(i32.load offset=8
(local.get $1)
)
)
Expand All @@ -50,7 +88,7 @@ functions › lam_destructure_5
)
)
)
(local.set $5
(local.set $10
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
Expand All @@ -66,12 +104,12 @@ functions › lam_destructure_5
)
)
)
(local.set $6
(local.set $11
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(i32.load offset=8
(i32.load offset=16
(local.get $1)
)
)
Expand All @@ -82,12 +120,100 @@ functions › lam_destructure_5
)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(block (result i32)
(local.set $6
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $11)
)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $6)
)
)
)
)
(i32.const 1879048190)
)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(block (result i32)
(local.set $5
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $10)
)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $5)
)
)
)
)
(i32.const 1879048190)
)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(block (result i32)
(local.set $4
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $9)
)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $4)
)
)
)
)
(i32.const 1879048190)
)
)
)
(local.set $7
(tuple.extract 0
(tuple.make
(i32.const 0)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(i32.const 0)
)
)
)
)
(local.set $8
(tuple.extract 0
(tuple.make
(i32.const 0)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(i32.const 0)
)
)
)
)
(local.set $12
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(i32.load offset=12
(i32.load offset=8
(local.get $2)
)
)
Expand All @@ -98,12 +224,12 @@ functions › lam_destructure_5
)
)
)
(local.set $8
(local.set $13
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(i32.load offset=8
(i32.load offset=12
(local.get $2)
)
)
Expand All @@ -114,7 +240,51 @@ functions › lam_destructure_5
)
)
)
(local.set $9
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(block (result i32)
(local.set $8
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $13)
)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $8)
)
)
)
)
(i32.const 1879048190)
)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(block (result i32)
(local.set $7
(tuple.extract 0
(tuple.make
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $12)
)
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $7)
)
)
)
)
(i32.const 1879048190)
)
)
)
(local.set $14
(tuple.extract 0
(tuple.make
(call_indirect (type $i32_i32_i32_=>_i32)
Expand All @@ -131,7 +301,7 @@ functions › lam_destructure_5
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $6)
(local.get $4)
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
Expand All @@ -148,7 +318,7 @@ functions › lam_destructure_5
)
)
)
(local.set $10
(local.set $15
(tuple.extract 0
(tuple.make
(call_indirect (type $i32_i32_i32_=>_i32)
Expand All @@ -165,11 +335,11 @@ functions › lam_destructure_5
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $9)
(local.get $14)
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $4)
(local.get $6)
)
(i32.load offset=8
(local.get $3)
Expand All @@ -182,7 +352,7 @@ functions › lam_destructure_5
)
)
)
(local.set $11
(local.set $16
(tuple.extract 0
(tuple.make
(call_indirect (type $i32_i32_i32_=>_i32)
Expand All @@ -199,11 +369,11 @@ functions › lam_destructure_5
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $10)
(local.get $15)
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $8)
(local.get $7)
)
(i32.load offset=8
(local.get $3)
Expand All @@ -230,11 +400,11 @@ functions › lam_destructure_5
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $11)
(local.get $16)
)
(call $wimport_GRAIN$MODULE$runtime/gc_incRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$incRef)
(local.get $7)
(local.get $8)
)
(i32.load offset=8
(local.get $3)
Expand Down Expand Up @@ -281,6 +451,24 @@ functions › lam_destructure_5
(local.get $6)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $9)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $10)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $11)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
Expand All @@ -296,19 +484,31 @@ functions › lam_destructure_5
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $9)
(local.get $12)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $10)
(local.get $13)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $11)
(local.get $14)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $15)
)
)
(drop
(call $wimport_GRAIN$MODULE$runtime/gc_decRef
(global.get $wimport_GRAIN$MODULE$runtime/gc_GRAIN$EXPORT$decRef)
(local.get $16)
)
)
(local.get $3)
Expand Down
Loading

0 comments on commit 808d9ce

Please sign in to comment.