diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-27 21:58:40 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-27 21:58:40 -0600 |
commit | e3054fac8eca3148df169afa2cd85de40cf5ac94 (patch) | |
tree | 693a4af0c304a992efbbc9fb5852a98369c5f6c7 /output/LinearSearch.vaporm | |
parent | dfcf11cb8d7f28acad505c2785831424c38554b8 (diff) |
Move VaporizeVisitor VCall return store to AFTER restoring locals
Diffstat (limited to 'output/LinearSearch.vaporm')
-rw-r--r-- | output/LinearSearch.vaporm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/output/LinearSearch.vaporm b/output/LinearSearch.vaporm index 68fa7b9..93a18d6 100644 --- a/output/LinearSearch.vaporm +++ b/output/LinearSearch.vaporm @@ -30,7 +30,6 @@ func Main [in 0, out 0, local 17] $a0 = $s6 $a1 = $s7 call $s5 - $s4 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -40,6 +39,7 @@ func Main [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s4 = $v0 $s7 = $s4 PrintIntS($s7 ) $s0 = local[0] @@ -77,7 +77,6 @@ func LS_Start [in 0, out 0, local 17] $a0 = $s6 $a1 = $s4 call $s5 - $s7 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -87,6 +86,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s7 = $v0 $s4 = $s7 $s4 = [$s6+0] $s4 = [$s4+4] @@ -101,7 +101,6 @@ func LS_Start [in 0, out 0, local 17] local[16] = $t8 $a0 = $s6 call $s4 - $s7 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -111,6 +110,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s7 = $v0 $s4 = $s7 $s4 = 9999 PrintIntS($s4 ) @@ -129,7 +129,6 @@ func LS_Start [in 0, out 0, local 17] $a0 = $s6 $a1 = $s7 call $s4 - $s5 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -139,6 +138,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s5 = $v0 $s7 = $s5 PrintIntS($s7 ) $s7 = [$s6+0] @@ -156,7 +156,6 @@ func LS_Start [in 0, out 0, local 17] $a0 = $s6 $a1 = $s5 call $s7 - $s4 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -166,6 +165,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s4 = $v0 $s5 = $s4 PrintIntS($s5 ) $s5 = [$s6+0] @@ -183,7 +183,6 @@ func LS_Start [in 0, out 0, local 17] $a0 = $s6 $a1 = $s4 call $s5 - $s7 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -193,6 +192,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s7 = $v0 $s4 = $s7 PrintIntS($s4 ) $s4 = [$s6+0] @@ -210,7 +210,6 @@ func LS_Start [in 0, out 0, local 17] $a0 = $s6 $a1 = $s7 call $s4 - $s5 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -220,6 +219,7 @@ func LS_Start [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s5 = $v0 $s7 = $s5 PrintIntS($s7 ) $s7 = 55 @@ -370,7 +370,6 @@ func LS_Init [in 0, out 0, local 17] local[16] = $t8 $a0 = $s7 call :AllocArray - $s5 = $v0 $t0 = local[8] $t1 = local[9] $t2 = local[10] @@ -380,6 +379,7 @@ func LS_Init [in 0, out 0, local 17] $t6 = local[14] $t7 = local[15] $t8 = local[16] + $s5 = $v0 [$s6+16] = $s5 $s5 = 1 $s7 = [$s6+20] |