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
@@ -7,11 +7,11 @@ fun foo(c: Collection<Int>) {
}
}
---------------------
<v0>: {<: Collection<Int>} NEW: magic(c: Collection<Int>) -> <v0>
<v2>: Int NEW: magic(c|<v1>) -> <v2>
c <v1>: {<: Iterable<Int>} NEW: r(c) -> <v1>
{ break } <v3>: * NEW: r({ break }) -> <v3>
{ { break } } <v3>: * COPY
<v0>: {<: Collection<Int>} NEW: magic[FAKE_INITIALIZER](c: Collection<Int>) -> <v0>
<v2>: Int NEW: magic[LOOP_RANGE_ITERATION](c|<v1>) -> <v2>
c <v1>: {<: Iterable<Int>} NEW: r(c) -> <v1>
{ break } <v3>: * NEW: r({ break }) -> <v3>
{ { break } } <v3>: * COPY
=====================
== anonymous_0 ==
{