diff options
Diffstat (limited to 'output/ex46.vapor')
-rw-r--r-- | output/ex46.vapor | 103 |
1 files changed, 64 insertions, 39 deletions
diff --git a/output/ex46.vapor b/output/ex46.vapor index 282da13..3b141bc 100644 --- a/output/ex46.vapor +++ b/output/ex46.vapor @@ -1,28 +1,40 @@ func Main() t.4 = HeapAllocZ(16) [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.3 = t.3 - t.10 = [t.3+0] - t.11 = [t.10+0] - t.9 = call t.11(t.3 ) - t.12 = t.9 + 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) - t.3 = t.3 + t.14 = t.3 + t.3 = t.14 t.15 = [t.3+0] - t.16 = [t.15+4] - t.17 = 10 - t.18 = 20 - t.14 = call t.16(t.3 t.17 t.18) - t.13 = t.14 - t.19 = t.13 - PrintIntS(t.19) + t.16 = [t.15+0] + t.13 = call t.16(t.3) + t.17 = t.13 + t.18 = t.17 + PrintIntS(t.18) + t.21 = t.3 + t.3 = t.21 + t.22 = [t.3+0] + t.23 = [t.22+4] + t.24 = 10 + t.25 = t.24 + t.26 = 20 + t.27 = t.26 + t.20 = call t.23(t.3 t.25 t.27) + t.28 = t.20 + t.19 = t.28 + t.29 = t.19 + t.30 = t.29 + t.31 = t.30 + PrintIntS(t.31) ret const functable_A @@ -30,27 +42,40 @@ const functable_A :A_bar func A_foo(this ) - [this+12] = 0 - t.1 = 1 - t.2 = 2 - t.0 = Add(t.1 t.2) - [this+8] = t.0 - t.4 = [this+8] - t.5 = [this+12] - t.3 = Add(t.4 t.5) - [this+12] = t.3 - t.6 = [this+12] - ret t.6 + t.0 = 0 + t.1 = t.0 + [this+12] = t.1 + t.3 = 1 + t.4 = 2 + t.2 = Add(t.3 t.4) + t.5 = t.2 + [this+8] = t.5 + t.7 = [this+8] + t.8 = [this+12] + t.6 = Add(t.7 t.8) + t.9 = t.6 + [this+12] = t.9 + t.10 = [this+12] + t.11 = t.10 + t.12 = t.11 + ret t.12 func A_bar(this t.0 t.1 ) - [this+8] = t.0 - [this+12] = t.1 - t.4 = [this+8] - t.5 = [this+12] - t.3 = MulS(t.4 t.5) - t.2 = t.3 - t.6 = t.2 - ret t.6 + t.2 = t.0 + t.3 = t.2 + [this+8] = t.3 + t.4 = t.1 + t.5 = t.4 + [this+12] = t.5 + t.8 = [this+8] + t.9 = [this+12] + t.7 = MulS(t.8 t.9) + t.10 = t.7 + t.6 = t.10 + t.11 = t.6 + t.12 = t.11 + t.13 = t.12 + ret t.13 func AllocArray(size) bytes = MulS(size 4) |