IrOperator -> IrStatementOrigin
This commit is contained in:
committed by
Dmitry Petrov
parent
5386d27284
commit
a8a6477ce5
@@ -2,7 +2,7 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
FUN public fun foo(): kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='foo(): 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'
|
||||
@@ -19,59 +19,59 @@ FILE /arrayAugmentedAssignment1.kt
|
||||
PROPERTY public final val x: kotlin.IntArray
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.IntArray
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: IntArray' type=kotlin.IntArray operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: IntArray' type=kotlin.IntArray origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.IntArray
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): IntArray'
|
||||
GET_BACKING_FIELD 'x: IntArray' type=kotlin.IntArray operator=null
|
||||
GET_BACKING_FIELD 'x: IntArray' type=kotlin.IntArray origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN public fun testVariable(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
VAR var x: kotlin.IntArray
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray operator=null
|
||||
BLOCK type=kotlin.Unit operator=PLUSEQ
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray origin=null
|
||||
BLOCK type=kotlin.Unit origin=PLUSEQ
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
GET_VAR 'x: IntArray' type=kotlin.IntArray operator=null
|
||||
GET_VAR 'x: IntArray' type=kotlin.IntArray origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
value: CALL 'plus(Int): Int' type=kotlin.Int operator=PLUSEQ
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int operator=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
value: CALL 'plus(Int): Int' type=kotlin.Int origin=PLUSEQ
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int origin=PLUSEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun testCall(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Unit operator=MULTEQ
|
||||
BLOCK type=kotlin.Unit origin=MULTEQ
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray operator=null
|
||||
CALL 'foo(): IntArray' type=kotlin.IntArray origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=MULTEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
value: CALL 'times(Int): Int' type=kotlin.Int operator=MULTEQ
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int operator=MULTEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
CALL 'bar(): Int' type=kotlin.Int origin=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=MULTEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
value: CALL 'times(Int): Int' type=kotlin.Int origin=MULTEQ
|
||||
$this: CALL 'get(Int): Int' type=kotlin.Int origin=MULTEQ
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value='2'
|
||||
FUN public fun testMember(c: C): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
BLOCK type=kotlin.Int operator=POSTFIX_INCR
|
||||
BLOCK type=kotlin.Int origin=POSTFIX_INCR
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_array: kotlin.IntArray
|
||||
CALL '<get-x>(): IntArray' type=kotlin.IntArray operator=GET_PROPERTY
|
||||
$this: GET_VAR 'value-parameter c: C' type=C operator=null
|
||||
CALL '<get-x>(): IntArray' type=kotlin.IntArray origin=GET_PROPERTY
|
||||
$this: GET_VAR 'value-parameter c: C' type=C origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_index0: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp2: kotlin.Int
|
||||
CALL 'get(Int): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray operator=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int operator=null
|
||||
value: CALL 'inc(): Int' type=kotlin.Int operator=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp2: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'tmp2: Int' type=kotlin.Int operator=null
|
||||
CALL 'get(Int): Int' type=kotlin.Int origin=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
CALL 'set(Int, Int): Unit' type=kotlin.Unit origin=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp0_array: IntArray' type=kotlin.IntArray origin=null
|
||||
index: GET_VAR 'tmp1_index0: Int' type=kotlin.Int origin=null
|
||||
value: CALL 'inc(): Int' type=kotlin.Int origin=POSTFIX_INCR
|
||||
$this: GET_VAR 'tmp2: Int' type=kotlin.Int origin=null
|
||||
GET_VAR 'tmp2: Int' type=kotlin.Int origin=null
|
||||
|
||||
Reference in New Issue
Block a user