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
@@ -3,7 +3,7 @@ fun bar(n: Int) {
}
---------------------
<v0>: Int NEW: magic(n: Int) -> <v0>
<v0>: Int NEW: magic[FAKE_INITIALIZER](n: Int) -> <v0>
=====================
== foo ==
fun foo() {
@@ -28,4 +28,4 @@ a <v10>: Int NEW: r(a) -> <v
--a <v11>: Int NEW: call(--a, dec|<v10>) -> <v11>
bar(--a) <v12>: * NEW: call(bar(--a), bar|<v11>) -> <v12>
{ var a = 1 bar(a++) bar(a--) bar(++a) bar(--a) } <v12>: * COPY
=====================
=====================