diff options
Diffstat (limited to 'output/ex43.vaporm')
-rw-r--r-- | output/ex43.vaporm | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/output/ex43.vaporm b/output/ex43.vaporm index 93d7ecb..95edeec 100644 --- a/output/ex43.vaporm +++ b/output/ex43.vaporm @@ -12,7 +12,10 @@ func Main [in 0, out 0, local 14] $s7 = HeapAllocZ(4 ) [$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 @@ -31,7 +34,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] @@ -52,21 +56,30 @@ func A_foo [in 0, out 0, local 14] local[7] = $s7 $s6 = $a0 $s7 = 1 + $s6 = $s7 + $s7 = $s6 $s6 = 5 $s5 = $s7 $s4 = LtS($s6 $s5 ) $s5 = $s4 - if0 $s5 goto :if5_else -if5_body: - $s5 = 1 - PrintIntS($s5 ) - goto :if5_end -if5_else: - $s5 = 0 - PrintIntS($s5 ) -if5_end: - $s5 = $s7 - $v0 = $s5 + $s4 = $s5 + if0 $s4 goto :if11_else +if11_body: + $s4 = 1 + $s5 = $s4 + $s4 = $s5 + PrintIntS($s4 ) + goto :if11_end +if11_else: + $s4 = 0 + $s5 = $s4 + $s4 = $s5 + PrintIntS($s4 ) +if11_end: + $s4 = $s7 + $s7 = $s4 + $s4 = $s7 + $v0 = $s4 $s0 = local[0] $s1 = local[1] $s2 = local[2] |