Introduce name hints for temporary variables.

Split IrValue.kt into a subpackage.
This commit is contained in:
Dmitry Petrov
2016-08-17 11:38:24 +03:00
committed by Dmitry Petrov
parent 177acaabf5
commit 888b1685ed
11 changed files with 179 additions and 100 deletions
+4 -4
View File
@@ -28,10 +28,10 @@ IrFile /callWithReorderedArguments.kt
CALL .foo type=kotlin.Unit operator=
a: CALL .noReorder1 type=kotlin.Int operator=
b: CALL .noReorder2 type=kotlin.Int operator=
VAR val tmp0: kotlin.Int
VAR val tmp0_b: kotlin.Int
CALL .reordered1 type=kotlin.Int operator=
VAR val tmp1: kotlin.Int
VAR val tmp1_a: kotlin.Int
CALL .reordered2 type=kotlin.Int operator=
CALL .foo type=kotlin.Unit operator=
a: GET_VAR tmp1 type=kotlin.Int
b: GET_VAR tmp0 type=kotlin.Int
a: GET_VAR tmp1_a type=kotlin.Int
b: GET_VAR tmp0_b type=kotlin.Int