IrOperator -> IrStatementOrigin

This commit is contained in:
Dmitry Petrov
2016-09-14 11:25:16 +03:00
committed by Dmitry Petrov
parent 5386d27284
commit a8a6477ce5
150 changed files with 2234 additions and 2297 deletions
@@ -2,13 +2,13 @@ FILE /arrayAssignment.kt
FUN public fun test(): kotlin.Unit
BLOCK_BODY
VAR val x: kotlin.IntArray
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray operator=null
CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
elements: VARARG type=IntArray varargElementType=Int
CONST Int type=kotlin.Int value='1'
CONST Int type=kotlin.Int value='2'
CONST Int type=kotlin.Int value='3'
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=EQ
$this: GET_VAR 'x: IntArray' type=kotlin.IntArray operator=null
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=EQ
$this: GET_VAR 'x: IntArray' type=kotlin.IntArray origin=null
index: CONST Int type=kotlin.Int value='1'
value: CONST Int type=kotlin.Int value='0'
FUN public fun foo(): kotlin.Int
@@ -17,11 +17,11 @@ FILE /arrayAssignment.kt
CONST Int type=kotlin.Int value='1'
FUN public fun test2(): kotlin.Unit
BLOCK_BODY
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=EQ
$this: CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray operator=null
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=EQ
$this: CALL 'intArrayOf(vararg Int): IntArray' type=kotlin.IntArray origin=null
elements: VARARG type=IntArray varargElementType=Int
CONST Int type=kotlin.Int value='1'
CONST Int type=kotlin.Int value='2'
CONST Int type=kotlin.Int value='3'
index: CALL 'foo(): Int' type=kotlin.Int operator=null
index: CALL 'foo(): Int' type=kotlin.Int origin=null
value: CONST Int type=kotlin.Int value='1'