IrOperator -> IrStatementOrigin
This commit is contained in:
committed by
Dmitry Petrov
parent
5386d27284
commit
a8a6477ce5
+8
-8
@@ -8,26 +8,26 @@ FILE /augmentedAssignmentWithExpression.kt
|
||||
BLOCK_BODY
|
||||
FUN public final fun test1(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: THIS of 'Host' type=Host
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun foo(): Host
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='foo(): Host'
|
||||
CALL 'constructor Host()' type=Host operator=null
|
||||
CALL 'constructor Host()' type=Host origin=null
|
||||
FUN public fun Host.test2(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: $RECEIVER of 'test2() on Host: Unit' type=Host
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun test3(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: CALL 'foo(): Host' type=Host operator=null
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: CALL 'foo(): Host' type=Host origin=null
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
FUN public fun test4(a: () -> Host): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit operator=PLUSEQ
|
||||
$this: CALL 'invoke(): Host' type=Host operator=INVOKE
|
||||
$this: GET_VAR 'value-parameter a: () -> Host' type=() -> Host operator=VARIABLE_AS_FUNCTION
|
||||
CALL 'plusAssign(Int): Unit' type=kotlin.Unit origin=PLUSEQ
|
||||
$this: CALL 'invoke(): Host' type=Host origin=INVOKE
|
||||
$this: GET_VAR 'value-parameter a: () -> Host' type=() -> Host origin=VARIABLE_AS_FUNCTION
|
||||
x: CONST Int type=kotlin.Int value='1'
|
||||
|
||||
Reference in New Issue
Block a user