Pseudocode: Generate correct values for postfix increment/decrement

This commit is contained in:
Alexey Sedunov
2014-06-23 13:53:08 +04:00
parent 7c837909d8
commit 50228fa085
8 changed files with 123 additions and 4 deletions
+2 -2
View File
@@ -6,6 +6,6 @@ fun foo(a: Array<Int>) {
a <v5> NEW()
0 <v6> NEW()
a[0] <v3> NEW(<v1>, <v2>)
a[0]++ <v7> NEW(<v5>, <v6>, <v4>)
{ a[0]++ } <v7> COPY
a[0]++ <v3> COPY
{ a[0]++ } <v3> COPY
=====================