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,9 +3,9 @@ fun invoke(f: () -> Unit) {
(f)()
}
---------------------
<v0>: {<: () -> Unit} NEW: magic(f: () -> Unit) -> <v0>
f <v1>: {<: () -> Unit} NEW: r(f) -> <v1>
(f) <v1>: {<: () -> Unit} COPY
(f)() <v2>: * NEW: call((f)(), invoke|<v1>) -> <v2>
{ (f)() } <v2>: * COPY
=====================
<v0>: {<: () -> Unit} NEW: magic[FAKE_INITIALIZER](f: () -> Unit) -> <v0>
f <v1>: {<: () -> Unit} NEW: r(f) -> <v1>
(f) <v1>: {<: () -> Unit} COPY
(f)() <v2>: * NEW: call((f)(), invoke|<v1>) -> <v2>
{ (f)() } <v2>: * COPY
=====================