summaryrefslogtreecommitdiff
path: root/output/ex30.vapor
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-05-03 17:50:02 -0600
committerbd-912 <bdunahu@colostate.edu>2024-05-03 17:50:02 -0600
commit8b481ec08efa60d462897a98bec3f6761c2933d1 (patch)
tree04e43861a364b8a9fe052057412f0c852c3ce334 /output/ex30.vapor
parente8be6dd157bed1b09312aa360ec8ee2f41813d0f (diff)
Move creating temporaries to Expression statements in BoilVisitor
Diffstat (limited to 'output/ex30.vapor')
-rw-r--r--output/ex30.vapor4
1 files changed, 3 insertions, 1 deletions
diff --git a/output/ex30.vapor b/output/ex30.vapor
index 03c3830..9d03cd3 100644
--- a/output/ex30.vapor
+++ b/output/ex30.vapor
@@ -6,7 +6,9 @@ const functable_A
func A_foo(this )
t.0 = 22
- ret t.0
+ t.1 = t.0
+ t.2 = t.1
+ ret t.2
func AllocArray(size)
bytes = MulS(size 4)