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 test(s: String?) {
s?.length
}
---------------------
<v0>: {<: String?} NEW: magic(s: String?) -> <v0>
s <v1>: {<: CharSequence?} NEW: r(s) -> <v1>
length <v2>: * NEW: r(length|<v1>) -> <v2>
s?.length <v2>: * COPY
{ s?.length } <v2>: * COPY
=====================
<v0>: {<: String?} NEW: magic[FAKE_INITIALIZER](s: String?) -> <v0>
s <v1>: {<: CharSequence?} NEW: r(s) -> <v1>
length <v2>: * NEW: r(length|<v1>) -> <v2>
s?.length <v2>: * COPY
{ s?.length } <v2>: * COPY
=====================