summaryrefslogtreecommitdiff
path: root/output/ex49.vaporm
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-05-07 18:07:44 -0600
committerbd-912 <bdunahu@colostate.edu>2024-05-07 18:07:44 -0600
commit9f24d0511a89379bb3326ee1b62eeaabe589571b (patch)
tree53303feae0ac4bdbeedb350ee69edaaf3313806a /output/ex49.vaporm
parentdcf0a8a4a77b0add316b3a8ea7cc0f746c128594 (diff)
Print Datasegments to file, other Condense improvements, initial tests pass
Diffstat (limited to 'output/ex49.vaporm')
-rw-r--r--output/ex49.vaporm32
1 files changed, 22 insertions, 10 deletions
diff --git a/output/ex49.vaporm b/output/ex49.vaporm
index 2c6d982..f7797f0 100644
--- a/output/ex49.vaporm
+++ b/output/ex49.vaporm
@@ -15,7 +15,10 @@ func Main [in 0, out 0, local 14]
$s7 = HeapAllocZ(8 )
[$s7+0] = :functable_A
$s6 = $s7
- $s6 = $s6
+ $s7 = $s6
+ $s6 = $s7
+ $s7 = $s6
+ $s6 = $s7
$s7 = [$s6+0]
$s5 = [$s7+0]
local[8] = $t3
@@ -34,7 +37,8 @@ func Main [in 0, out 0, local 14]
$t8 = local[13]
$s7 = $v0
$s5 = $s7
- PrintIntS($s5 )
+ $s7 = $s5
+ PrintIntS($s7 )
$s0 = local[0]
$s1 = local[1]
$s2 = local[2]
@@ -53,10 +57,14 @@ func A_set [in 0, out 0, local 14]
local[5] = $s5
local[6] = $s6
local[7] = $s7
- $s7 = $a0
- [$s7+4] = 3
- $s7 = 1
- $v0 = $s7
+ $s6 = $a0
+ $s7 = 3
+ $s5 = $s7
+ [$s6+4] = $s5
+ $s5 = 1
+ $s6 = $s5
+ $s5 = $s6
+ $v0 = $s5
$s0 = local[0]
$s1 = local[1]
$s2 = local[2]
@@ -75,10 +83,14 @@ func B_get [in 0, out 0, local 14]
local[5] = $s5
local[6] = $s6
local[7] = $s7
- $s7 = $a0
- [$s7+8] = 12
- $s6 = [$s7+8]
- $v0 = $s6
+ $s6 = $a0
+ $s7 = 12
+ $s5 = $s7
+ [$s6+8] = $s5
+ $s5 = [$s6+8]
+ $s6 = $s5
+ $s5 = $s6
+ $v0 = $s5
$s0 = local[0]
$s1 = local[1]
$s2 = local[2]