summaryrefslogtreecommitdiff
path: root/output/ex38.vapor
diff options
context:
space:
mode:
Diffstat (limited to 'output/ex38.vapor')
-rw-r--r--output/ex38.vapor56
1 files changed, 33 insertions, 23 deletions
diff --git a/output/ex38.vapor b/output/ex38.vapor
index 616bf27..4a73c41 100644
--- a/output/ex38.vapor
+++ b/output/ex38.vapor
@@ -1,35 +1,45 @@
func Main()
t.4 = HeapAllocZ(4)
[t.4+0] = :functable_A
- t.3 = t.4
- t.3 = t.3
- t.6 = [t.3+0]
- t.7 = [t.6+0]
- t.5 = call t.7(t.3 )
- t.8 = t.5
- PrintIntS(t.8)
+ t.5 = t.4
+ t.6 = t.5
+ t.3 = t.6
+ t.8 = t.3
+ t.3 = t.8
+ t.9 = [t.3+0]
+ t.10 = [t.9+0]
+ t.7 = call t.10(t.3)
+ t.11 = t.7
+ t.12 = t.11
+ PrintIntS(t.12)
ret
const functable_A
:A_foo
func A_foo(this )
- t.0 = 0
-while5_test:
- t.2 = t.0
- t.3 = 10
- t.1 = LtS(t.2 t.3)
- t.4 = t.1
- if0 t.4 goto :while5_end
-while5_body:
- t.6 = t.0
- t.7 = 1
- t.5 = Add(t.6 t.7)
- t.0 = t.5
- goto :while5_test
-while5_end:
- t.8 = t.0
- ret t.8
+ t.1 = 0
+ t.2 = t.1
+ t.0 = t.2
+while11_test:
+ t.4 = t.0
+ t.5 = 10
+ t.3 = LtS(t.4 t.5)
+ t.6 = t.3
+ t.7 = t.6
+ if0 t.7 goto :while11_end
+while11_body:
+ t.9 = t.0
+ t.10 = 1
+ t.8 = Add(t.9 t.10)
+ t.11 = t.8
+ t.0 = t.11
+ goto :while11_test
+while11_end:
+ t.12 = t.0
+ t.13 = t.12
+ t.14 = t.13
+ ret t.14
func AllocArray(size)
bytes = MulS(size 4)