Generate "raw" IR in Psi2IrTranslator.

This commit is contained in:
Dmitry Petrov
2016-08-29 19:29:33 +03:00
committed by Dmitry Petrov
parent ba85e714e3
commit 05b9eda809
23 changed files with 306 additions and 368 deletions
@@ -31,8 +31,10 @@ FILE /callWithReorderedArguments.kt
a: GET_VAR tmp1_a type=kotlin.Int operator=null
b: GET_VAR tmp0_b type=kotlin.Int operator=null
BLOCK type=kotlin.Unit operator=ARGUMENTS_REORDERING_FOR_CALL
VAR val tmp2_a: kotlin.Int
VAR val tmp2_b: kotlin.Int
CONST Int type=kotlin.Int value='1'
VAR val tmp3_a: kotlin.Int
CALL .reordered2 type=kotlin.Int operator=null
CALL .foo type=kotlin.Unit operator=null
a: GET_VAR tmp2_a type=kotlin.Int operator=null
b: CONST Int type=kotlin.Int value='1'
a: GET_VAR tmp3_a type=kotlin.Int operator=null
b: GET_VAR tmp2_b type=kotlin.Int operator=null