Pseudocode: Add debug information to magic instructions

This commit is contained in:
Alexey Sedunov
2014-06-26 13:06:28 +04:00
parent d636d362b7
commit 4707f4a5e9
125 changed files with 1204 additions and 1157 deletions
@@ -4,17 +4,17 @@ open class A(a: Int, b: Int)
L0:
1 <START>
v(a: Int)
magic(a: Int) -> <v0>
magic[FAKE_INITIALIZER](a: Int) -> <v0>
w(a|<v0>)
v(b: Int)
magic(b: Int) -> <v1>
magic[FAKE_INITIALIZER](b: Int) -> <v1>
w(b|<v1>)
L1:
<END> NEXT:[<SINK>]
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
<SINK> PREV:[<ERROR>, <END>]
=====================
== B ==
class B(a: Int, b: Int): A(a + b, a - b)
@@ -22,10 +22,10 @@ class B(a: Int, b: Int): A(a + b, a - b)
L0:
1 <START>
v(a: Int)
magic(a: Int) -> <v0>
magic[FAKE_INITIALIZER](a: Int) -> <v0>
w(a|<v0>)
v(b: Int)
magic(b: Int) -> <v1>
magic[FAKE_INITIALIZER](b: Int) -> <v1>
w(b|<v1>)
r(a) -> <v2>
r(b) -> <v3>