IrOperator -> IrStatementOrigin
This commit is contained in:
committed by
Dmitry Petrov
parent
5386d27284
commit
a8a6477ce5
+19
-19
@@ -7,52 +7,52 @@ FILE /argumentReorderingInDelegatingConstructorCall.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
BLOCK type=Base origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_x: kotlin.Int
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int origin=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int operator=null
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(xx: kotlin.Int, yy: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Base operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
BLOCK type=Base origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_y: kotlin.Int
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yy: Int' type=kotlin.Int origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_x: kotlin.Int
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter xx: Int' type=kotlin.Int origin=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Base(Int, Int)'
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int operator=null
|
||||
x: GET_VAR 'tmp1_x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'tmp0_y: Int' type=kotlin.Int origin=null
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test2'
|
||||
CONSTRUCTOR public constructor Test2(xxx: kotlin.Int, yyy: kotlin.Int, a: kotlin.Any)
|
||||
BLOCK_BODY
|
||||
BLOCK type=Test2 operator=ARGUMENTS_REORDERING_FOR_CALL
|
||||
BLOCK type=Test2 origin=ARGUMENTS_REORDERING_FOR_CALL
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_yy: kotlin.Int
|
||||
GET_VAR 'value-parameter yyy: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter yyy: Int' type=kotlin.Int origin=null
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp1_xx: kotlin.Int
|
||||
GET_VAR 'value-parameter xxx: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter xxx: Int' type=kotlin.Int origin=null
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Test2(Int, Int)'
|
||||
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int operator=null
|
||||
yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int operator=null
|
||||
xx: GET_VAR 'tmp1_xx: Int' type=kotlin.Int origin=null
|
||||
yy: GET_VAR 'tmp0_yy: Int' type=kotlin.Int origin=null
|
||||
|
||||
+15
-15
@@ -9,26 +9,26 @@ FILE /classMembers.kt
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final var z: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var z: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter z: Int = ...' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-z>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CONSTRUCTOR public constructor C()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor C(Int, Int, Int = ...)'
|
||||
@@ -42,7 +42,7 @@ FILE /classMembers.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-property>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-property>(): Int'
|
||||
GET_BACKING_FIELD 'property: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'property: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'C' type=C
|
||||
PROPERTY public final val propertyWithGet: kotlin.Int
|
||||
FUN public final fun <get-propertyWithGet>(): kotlin.Int
|
||||
@@ -53,20 +53,20 @@ FILE /classMembers.kt
|
||||
FUN public final fun <get-propertyWithGetAndSet>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-propertyWithGetAndSet>(): Int'
|
||||
CALL '<get-z>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
CALL '<get-z>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'C' type=C
|
||||
FUN public final fun <set-propertyWithGetAndSet>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
CALL '<set-z>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: THIS of 'C' type=C
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
<set-?>: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
CLASS CLASS NestedClass
|
||||
CONSTRUCTOR public constructor NestedClass()
|
||||
@@ -75,18 +75,18 @@ FILE /classMembers.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='NestedClass'
|
||||
FUN public final fun function(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='3'
|
||||
FUN public final fun kotlin.Int.memberExtensionFunction(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='4'
|
||||
CLASS INTERFACE NestedInterface
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN public open fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Unit'
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: THIS of 'NestedInterface' type=C.NestedInterface
|
||||
CLASS OBJECT companion object of C
|
||||
CONSTRUCTOR private constructor Companion()
|
||||
|
||||
+58
-58
@@ -7,136 +7,136 @@ FILE /dataClasses.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val y: kotlin.String
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: String' type=kotlin.String operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: String' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): String'
|
||||
GET_BACKING_FIELD 'y: String' type=kotlin.String operator=null
|
||||
GET_BACKING_FIELD 'y: String' type=kotlin.String origin=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val z: kotlin.Any
|
||||
FIELD PROPERTY_BACKING_FIELD public final val z: kotlin.Any
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter z: Any' type=kotlin.Any operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter z: Any' type=kotlin.Any origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Any'
|
||||
GET_BACKING_FIELD 'z: Any' type=kotlin.Any operator=null
|
||||
GET_BACKING_FIELD 'z: Any' type=kotlin.Any origin=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component1(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component1(): Int'
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component2(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component2(): String'
|
||||
CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final operator fun component3(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='component3(): Any'
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public final fun copy(x: kotlin.Int = ..., y: kotlin.String = ..., z: kotlin.Any = ...): Test1
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='copy(Int = ..., String = ..., Any = ...): Test1'
|
||||
CALL 'constructor Test1(Int, String, Any)' type=Test1 operator=null
|
||||
x: GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int operator=null
|
||||
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String operator=null
|
||||
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any operator=null
|
||||
CALL 'constructor Test1(Int, String, Any)' type=Test1 origin=null
|
||||
x: GET_VAR 'value-parameter x: Int = ...' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter y: String = ...' type=kotlin.String origin=null
|
||||
z: GET_VAR 'value-parameter z: Any = ...' type=kotlin.Any origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun toString(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='toString(): String'
|
||||
STRING_CONCATENATION type=kotlin.String
|
||||
CONST String type=kotlin.String value='Test1('
|
||||
CONST String type=kotlin.String value='x='
|
||||
CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=', '
|
||||
CONST String type=kotlin.String value='y='
|
||||
CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=', '
|
||||
CONST String type=kotlin.String value='z='
|
||||
CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
CONST String type=kotlin.String value=')'
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun hashCode(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_result: kotlin.Int
|
||||
CONST Int type=kotlin.Int value='0'
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
|
||||
CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value='31'
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit operator=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
SET_VAR 'tmp0_result: Int' type=kotlin.Unit origin=EQ
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=null
|
||||
$this: CALL 'times(Int): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
other: CONST Int type=kotlin.Int value='31'
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int operator=null
|
||||
$this: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
other: CALL 'hashCode(): Int' type=kotlin.Int origin=null
|
||||
$this: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
RETURN type=kotlin.Nothing from='hashCode(): Int'
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'tmp0_result: Int' type=kotlin.Int origin=null
|
||||
FUN GENERATED_DATA_CLASS_MEMBER public open override fun equals(other: kotlin.Any?): kotlin.Boolean
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EQEQEQ
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
if: CALL 'EQEQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQEQ
|
||||
arg0: THIS of 'Test1' type=Test1
|
||||
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
arg1: GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='true'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: TYPE_OP operator=NOT_INSTANCEOF typeOperand=Test1
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
if: TYPE_OP origin=NOT_INSTANCEOF typeOperand=Test1
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
VAR IR_TEMPORARY_VARIABLE val tmp0_other_with_cast: Test1
|
||||
TYPE_OP operator=CAST typeOperand=Test1
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? operator=null
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
TYPE_OP origin=CAST typeOperand=Test1
|
||||
GET_VAR 'value-parameter other: Any?' type=kotlin.Any? origin=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
arg1: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-y>(): String' type=kotlin.String operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
arg1: CALL '<get-y>(): String' type=kotlin.String origin=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
WHEN type=kotlin.Unit operator=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean operator=EXCLEQ
|
||||
arg0: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: THIS of 'Test1' type=Test1
|
||||
arg1: CALL '<get-z>(): Any' type=kotlin.Any operator=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 operator=null
|
||||
arg1: CALL '<get-z>(): Any' type=kotlin.Any origin=GET_PROPERTY
|
||||
$this: GET_VAR 'tmp0_other_with_cast: Test1' type=Test1 origin=null
|
||||
then: RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
CONST Boolean type=kotlin.Boolean value='false'
|
||||
RETURN type=kotlin.Nothing from='equals(Any?): Boolean'
|
||||
|
||||
+39
-39
@@ -24,7 +24,7 @@ FILE /delegatedImplementation.kt
|
||||
FUN public fun otherImpl(x0: kotlin.String, y0: kotlin.Int): IOther
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='otherImpl(String, Int): IOther'
|
||||
BLOCK type=otherImpl.<no name provided> operator=OBJECT_LITERAL
|
||||
BLOCK type=otherImpl.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
@@ -33,26 +33,26 @@ FILE /delegatedImplementation.kt
|
||||
PROPERTY public open override val x: kotlin.String
|
||||
FIELD PROPERTY_BACKING_FIELD public open override val x: kotlin.String
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x0: String' type=kotlin.String operator=null
|
||||
GET_VAR 'value-parameter x0: String' type=kotlin.String origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-x>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
GET_BACKING_FIELD 'x: String' type=kotlin.String operator=null
|
||||
GET_BACKING_FIELD 'x: String' type=kotlin.String origin=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
PROPERTY public open override var y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public open override var y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y0: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter y0: Int' type=kotlin.Int origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of '<no name provided>' type=otherImpl.<no name provided>
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
PROPERTY public open override val kotlin.Byte.z1: kotlin.Int
|
||||
FUN public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
@@ -65,7 +65,7 @@ FILE /delegatedImplementation.kt
|
||||
CONST Int type=kotlin.Int value='2'
|
||||
FUN public open override fun kotlin.Byte.<set-z2>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=otherImpl.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS Test1
|
||||
CONSTRUCTOR public constructor Test1()
|
||||
BLOCK_BODY
|
||||
@@ -77,18 +77,18 @@ FILE /delegatedImplementation.kt
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
CALL 'bar(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test1$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
$receiver: $RECEIVER of 'qux() on String: Unit' type=kotlin.String
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2()
|
||||
@@ -101,58 +101,58 @@ FILE /delegatedImplementation.kt
|
||||
FUN DELEGATED_MEMBER public open override fun bar(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(): Int'
|
||||
CALL 'bar(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
CALL 'bar(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun foo(x: kotlin.Int, s: kotlin.String): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String operator=null
|
||||
CALL 'foo(Int, String): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
s: GET_VAR 'value-parameter s: String' type=kotlin.String origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.String.qux(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl operator=null
|
||||
CALL 'qux() on String: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test2$IBase$delegate`: BaseImpl' type=BaseImpl origin=null
|
||||
$receiver: $RECEIVER of 'qux() on String: Unit' type=kotlin.String
|
||||
FIELD DELEGATE val `Test2$IOther$delegate`: IOther
|
||||
EXPRESSION_BODY
|
||||
CALL 'otherImpl(String, Int): IOther' type=IOther operator=null
|
||||
CALL 'otherImpl(String, Int): IOther' type=IOther origin=null
|
||||
x0: CONST String type=kotlin.String value=''
|
||||
y0: CONST Int type=kotlin.Int value='42'
|
||||
PROPERTY DELEGATED_MEMBER public open override val kotlin.Byte.z1: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z1>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z1>() on Byte: Int'
|
||||
CALL '<get-z1>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
CALL '<get-z1>() on Byte: Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
$receiver: $RECEIVER of 'z1: Int on Byte' type=kotlin.Byte
|
||||
PROPERTY DELEGATED_MEMBER public open override val x: kotlin.String
|
||||
FUN DELEGATED_MEMBER public open override fun <get-x>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): String'
|
||||
CALL '<get-x>(): String' type=kotlin.String operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
CALL '<get-x>(): String' type=kotlin.String origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
PROPERTY DELEGATED_MEMBER public open override var kotlin.Byte.z2: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<get-z2>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z2>() on Byte: Int'
|
||||
CALL '<get-z2>() on Byte: Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
CALL '<get-z2>() on Byte: Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
FUN DELEGATED_MEMBER public open override fun kotlin.Byte.<set-z2>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
CALL '<set-z2>(Int) on Byte: Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
$receiver: $RECEIVER of 'z2: Int on Byte' type=kotlin.Byte
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
PROPERTY DELEGATED_MEMBER public open override var y: kotlin.Int
|
||||
FUN DELEGATED_MEMBER public open override fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
CALL '<get-y>(): Int' type=kotlin.Int operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
CALL '<get-y>(): Int' type=kotlin.Int origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
FUN DELEGATED_MEMBER public open override fun <set-y>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL '<set-y>(Int): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther operator=null
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
CALL '<set-y>(Int): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`Test2$IOther$delegate`: IOther' type=IOther origin=null
|
||||
<set-?>: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
|
||||
+2
-2
@@ -21,7 +21,7 @@ FILE /delegatedImplementationWithExplicitOverride.kt
|
||||
GET_OBJECT 'FooBarImpl' type=FooBarImpl
|
||||
FUN DELEGATED_MEMBER public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: GET_VAR '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl operator=null
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: GET_VAR '`C$IFooBar$delegate`: FooBarImpl' type=FooBarImpl origin=null
|
||||
FUN public open override fun bar(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
|
||||
+10
-10
@@ -20,11 +20,11 @@ FILE /enum.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestEnum2' type=TestEnum2
|
||||
ENUM_ENTRY enum entry TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TestEnum2(Int)' TEST1
|
||||
@@ -53,7 +53,7 @@ FILE /enum.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='Hello, world!'
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum3>
|
||||
@@ -68,11 +68,11 @@ FILE /enum.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestEnum4' type=TestEnum4
|
||||
ENUM_ENTRY enum entry TEST1
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST1()' TEST1
|
||||
@@ -84,7 +84,7 @@ FILE /enum.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TEST1'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_ENUM_VALUE 'TEST1' type=TestEnum4
|
||||
ENUM_ENTRY enum entry TEST2
|
||||
init: ENUM_CONSTRUCTOR_CALL 'constructor TEST2()' TEST2
|
||||
@@ -99,17 +99,17 @@ FILE /enum.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-z>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-z>(): Int'
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'z: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TEST2' type=TestEnum4.TEST2
|
||||
ANONYMOUS_INITIALIZER TEST2
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'z: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TEST2' type=TestEnum4.TEST2
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'TEST2' type=TestEnum4.TEST2
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: GET_ENUM_VALUE 'TEST2' type=TestEnum4
|
||||
FUN public abstract fun foo(): kotlin.Unit
|
||||
FUN ENUM_CLASS_SPECIAL_MEMBER public final fun values(): kotlin.Array<TestEnum4>
|
||||
|
||||
+9
-9
@@ -6,7 +6,7 @@ FILE /initBlock.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test1'
|
||||
ANONYMOUS_INITIALIZER Test1
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
@@ -15,19 +15,19 @@ FILE /initBlock.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
ANONYMOUS_INITIALIZER Test2
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CLASS CLASS Test3
|
||||
ANONYMOUS_INITIALIZER Test3
|
||||
BLOCK_BODY
|
||||
CALL 'println(): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(): Unit' type=kotlin.Unit origin=null
|
||||
CONSTRUCTOR public constructor Test3()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
@@ -35,7 +35,7 @@ FILE /initBlock.kt
|
||||
CLASS CLASS Test4
|
||||
ANONYMOUS_INITIALIZER Test4
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
CONSTRUCTOR public constructor Test4()
|
||||
BLOCK_BODY
|
||||
@@ -43,7 +43,7 @@ FILE /initBlock.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test4'
|
||||
ANONYMOUS_INITIALIZER Test4
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
CLASS CLASS Test5
|
||||
CONSTRUCTOR public constructor Test5()
|
||||
@@ -52,7 +52,7 @@ FILE /initBlock.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Test5'
|
||||
ANONYMOUS_INITIALIZER Test5
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='1'
|
||||
CLASS CLASS TestInner
|
||||
CONSTRUCTOR public constructor TestInner()
|
||||
@@ -61,5 +61,5 @@ FILE /initBlock.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInner'
|
||||
ANONYMOUS_INITIALIZER TestInner
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='2'
|
||||
|
||||
+5
-5
@@ -7,11 +7,11 @@ FILE /initVal.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitValFromParameter' type=TestInitValFromParameter
|
||||
CLASS CLASS TestInitValInClass
|
||||
CONSTRUCTOR public constructor TestInitValInClass()
|
||||
@@ -25,7 +25,7 @@ FILE /initVal.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitValInClass' type=TestInitValInClass
|
||||
CLASS CLASS TestInitValInInitBlock
|
||||
CONSTRUCTOR public constructor TestInitValInInitBlock()
|
||||
@@ -37,10 +37,10 @@ FILE /initVal.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitValInInitBlock' type=TestInitValInInitBlock
|
||||
ANONYMOUS_INITIALIZER TestInitValInInitBlock
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TestInitValInInitBlock' type=TestInitValInInitBlock
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
|
||||
+22
-22
@@ -7,17 +7,17 @@ FILE /initVar.kt
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarFromParameter' type=TestInitVarFromParameter
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TestInitVarFromParameter' type=TestInitVarFromParameter
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS TestInitVarInClass
|
||||
CONSTRUCTOR public constructor TestInitVarInClass()
|
||||
BLOCK_BODY
|
||||
@@ -30,13 +30,13 @@ FILE /initVar.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarInClass' type=TestInitVarInClass
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TestInitVarInClass' type=TestInitVarInClass
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS TestInitVarInInitBlock
|
||||
CONSTRUCTOR public constructor TestInitVarInInitBlock()
|
||||
BLOCK_BODY
|
||||
@@ -47,16 +47,16 @@ FILE /initVar.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <set-x>(<set-?>: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter <set-?>: Int' type=kotlin.Int origin=null
|
||||
ANONYMOUS_INITIALIZER TestInitVarInInitBlock
|
||||
BLOCK_BODY
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: THIS of 'TestInitVarInInitBlock' type=TestInitVarInInitBlock
|
||||
<set-?>: CONST Int type=kotlin.Int value='0'
|
||||
CLASS CLASS TestInitVarWithCustomSetter
|
||||
@@ -71,27 +71,27 @@ FILE /initVar.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarWithCustomSetter' type=TestInitVarWithCustomSetter
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
CLASS CLASS TestInitVarWithCustomSetterWithExplicitCtor
|
||||
PROPERTY public final var x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final var x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
ANONYMOUS_INITIALIZER TestInitVarWithCustomSetterWithExplicitCtor
|
||||
BLOCK_BODY
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: THIS of 'TestInitVarWithCustomSetterWithExplicitCtor' type=TestInitVarWithCustomSetterWithExplicitCtor
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor TestInitVarWithCustomSetterWithExplicitCtor()
|
||||
@@ -104,16 +104,16 @@ FILE /initVar.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor
|
||||
FUN public final fun <set-x>(value: kotlin.Int): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=EQ
|
||||
value: GET_VAR 'value-parameter value: Int' type=kotlin.Int origin=null
|
||||
CONSTRUCTOR public constructor TestInitVarWithCustomSetterInCtor()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='TestInitVarWithCustomSetterInCtor'
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit operator=EQ
|
||||
CALL '<set-x>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: THIS of 'TestInitVarWithCustomSetterInCtor' type=TestInitVarWithCustomSetterInCtor
|
||||
value: CONST Int type=kotlin.Int value='42'
|
||||
|
||||
+2
-2
@@ -8,5 +8,5 @@ FILE /localClasses.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='LocalClass'
|
||||
FUN public final fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' type=kotlin.Unit operator=null
|
||||
$this: CALL 'constructor LocalClass()' type=outer.LocalClass operator=null
|
||||
CALL 'foo(): Unit' type=kotlin.Unit origin=null
|
||||
$this: CALL 'constructor LocalClass()' type=outer.LocalClass origin=null
|
||||
|
||||
@@ -4,21 +4,21 @@ FILE /objectLiteralExpressions.kt
|
||||
PROPERTY public val test1: kotlin.Any
|
||||
FIELD PROPERTY_BACKING_FIELD public val test1: kotlin.Any
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
BLOCK type=test1.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor Any()'
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
CALL 'constructor <no name provided>()' type=test1.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=test1.<no name provided> origin=OBJECT_LITERAL
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test1>(): kotlin.Any
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test1>(): Any'
|
||||
GET_BACKING_FIELD 'test1: Any' type=kotlin.Any operator=null
|
||||
GET_BACKING_FIELD 'test1: Any' type=kotlin.Any origin=null
|
||||
PROPERTY public val test2: IFoo
|
||||
FIELD PROPERTY_BACKING_FIELD public val test2: IFoo
|
||||
EXPRESSION_BODY
|
||||
BLOCK type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
BLOCK type=test2.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
@@ -26,13 +26,13 @@ FILE /objectLiteralExpressions.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL 'constructor <no name provided>()' type=test2.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=test2.<no name provided> origin=OBJECT_LITERAL
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public fun <get-test2>(): IFoo
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-test2>(): IFoo'
|
||||
GET_BACKING_FIELD 'test2: IFoo' type=IFoo operator=null
|
||||
GET_BACKING_FIELD 'test2: IFoo' type=IFoo origin=null
|
||||
CLASS CLASS Outer
|
||||
CONSTRUCTOR public constructor Outer()
|
||||
BLOCK_BODY
|
||||
@@ -46,7 +46,7 @@ FILE /objectLiteralExpressions.kt
|
||||
FUN public final fun test3(): Outer.Inner
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test3(): Outer.Inner'
|
||||
BLOCK type=Outer.test3.<no name provided> operator=OBJECT_LITERAL
|
||||
BLOCK type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
@@ -55,13 +55,13 @@ FILE /objectLiteralExpressions.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=Outer.test3.<no name provided> origin=OBJECT_LITERAL
|
||||
FUN public fun Outer.test4(): Outer.Inner
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test4() on Outer: Outer.Inner'
|
||||
BLOCK type=test4.<no name provided> operator=OBJECT_LITERAL
|
||||
BLOCK type=test4.<no name provided> origin=OBJECT_LITERAL
|
||||
CLASS CLASS <no name provided>
|
||||
CONSTRUCTOR public constructor <no name provided>()
|
||||
BLOCK_BODY
|
||||
@@ -70,6 +70,6 @@ FILE /objectLiteralExpressions.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='<no name provided>'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit operator=null
|
||||
CALL 'println(Any?): Unit' type=kotlin.Unit origin=null
|
||||
message: CONST String type=kotlin.String value='foo'
|
||||
CALL 'constructor <no name provided>()' type=test4.<no name provided> operator=OBJECT_LITERAL
|
||||
CALL 'constructor <no name provided>()' type=test4.<no name provided> origin=OBJECT_LITERAL
|
||||
|
||||
@@ -16,18 +16,18 @@ FILE /objectWithInitializers.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test' type=Test
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test' type=Test
|
||||
ANONYMOUS_INITIALIZER Test
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'y: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'Test' type=Test
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int operator=GET_PROPERTY
|
||||
value: CALL '<get-x>(): Int' type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'Test' type=Test
|
||||
|
||||
+13
-13
@@ -7,20 +7,20 @@ FILE /primaryConstructor.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test1' type=Test1
|
||||
CLASS CLASS Test2
|
||||
CONSTRUCTOR public constructor Test2(x: kotlin.Int, y: kotlin.Int)
|
||||
@@ -30,20 +30,20 @@ FILE /primaryConstructor.kt
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test2' type=Test2
|
||||
CLASS CLASS Test3
|
||||
CONSTRUCTOR public constructor Test3(x: kotlin.Int, y: kotlin.Int)
|
||||
@@ -53,21 +53,21 @@ FILE /primaryConstructor.kt
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
ANONYMOUS_INITIALIZER Test3
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'Test3' type=Test3
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
value: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
|
||||
+5
-5
@@ -22,23 +22,23 @@ FILE /primaryConstructorWithSuperConstructorCall.kt
|
||||
PROPERTY public final val x: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val x: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestWithDelegatingConstructor' type=TestWithDelegatingConstructor
|
||||
PROPERTY public final val y: kotlin.Int
|
||||
FIELD PROPERTY_BACKING_FIELD public final val y: kotlin.Int
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter y: Int' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-y>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-y>(): Int'
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'y: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestWithDelegatingConstructor' type=TestWithDelegatingConstructor
|
||||
CONSTRUCTOR public constructor TestWithDelegatingConstructor(x: kotlin.Int)
|
||||
BLOCK_BODY
|
||||
DELEGATING_CONSTRUCTOR_CALL 'constructor TestWithDelegatingConstructor(Int, Int)'
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int operator=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
y: CONST Int type=kotlin.Int value='0'
|
||||
|
||||
@@ -22,16 +22,16 @@ FILE /qualifiedSuperCalls.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='CBoth'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit operator=null
|
||||
CALL 'foo(): Unit' superQualifier=ILeft type=kotlin.Unit origin=null
|
||||
$this: THIS of 'CBoth' type=ILeft
|
||||
CALL 'foo(): Unit' superQualifier=IRight type=kotlin.Unit operator=null
|
||||
CALL 'foo(): Unit' superQualifier=IRight type=kotlin.Unit origin=null
|
||||
$this: THIS of 'CBoth' type=IRight
|
||||
PROPERTY public open override val bar: kotlin.Int
|
||||
FUN public open override fun <get-bar>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): Int'
|
||||
CALL 'plus(Int): Int' type=kotlin.Int operator=PLUS
|
||||
$this: CALL '<get-bar>(): Int' superQualifier=ILeft type=kotlin.Int operator=GET_PROPERTY
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUS
|
||||
$this: CALL '<get-bar>(): Int' superQualifier=ILeft type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'CBoth' type=ILeft
|
||||
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int operator=GET_PROPERTY
|
||||
other: CALL '<get-bar>(): Int' superQualifier=IRight type=kotlin.Int origin=GET_PROPERTY
|
||||
$this: THIS of 'CBoth' type=IRight
|
||||
|
||||
+6
-6
@@ -12,11 +12,11 @@ FILE /sealedClasses.kt
|
||||
PROPERTY public final val number: kotlin.Double
|
||||
FIELD PROPERTY_BACKING_FIELD public final val number: kotlin.Double
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter number: Double' type=kotlin.Double operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter number: Double' type=kotlin.Double origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-number>(): kotlin.Double
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-number>(): Double'
|
||||
GET_BACKING_FIELD 'number: Double' type=kotlin.Double operator=null
|
||||
GET_BACKING_FIELD 'number: Double' type=kotlin.Double origin=null
|
||||
receiver: THIS of 'Const' type=Expr.Const
|
||||
CLASS CLASS Sum
|
||||
CONSTRUCTOR public constructor Sum(e1: Expr, e2: Expr)
|
||||
@@ -26,20 +26,20 @@ FILE /sealedClasses.kt
|
||||
PROPERTY public final val e1: Expr
|
||||
FIELD PROPERTY_BACKING_FIELD public final val e1: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e1: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter e1: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e1>(): Expr
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e1>(): Expr'
|
||||
GET_BACKING_FIELD 'e1: Expr' type=Expr operator=null
|
||||
GET_BACKING_FIELD 'e1: Expr' type=Expr origin=null
|
||||
receiver: THIS of 'Sum' type=Expr.Sum
|
||||
PROPERTY public final val e2: Expr
|
||||
FIELD PROPERTY_BACKING_FIELD public final val e2: Expr
|
||||
EXPRESSION_BODY
|
||||
GET_VAR 'value-parameter e2: Expr' type=Expr operator=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
GET_VAR 'value-parameter e2: Expr' type=Expr origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-e2>(): Expr
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-e2>(): Expr'
|
||||
GET_BACKING_FIELD 'e2: Expr' type=Expr operator=null
|
||||
GET_BACKING_FIELD 'e2: Expr' type=Expr origin=null
|
||||
receiver: THIS of 'Sum' type=Expr.Sum
|
||||
CLASS OBJECT NotANumber
|
||||
CONSTRUCTOR private constructor NotANumber()
|
||||
|
||||
+3
-3
@@ -12,7 +12,7 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestProperty' type=TestProperty
|
||||
CONSTRUCTOR public constructor TestProperty()
|
||||
BLOCK_BODY
|
||||
@@ -24,11 +24,11 @@ FILE /secondaryConstructorWithInitializersFromClassBody.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public final fun <get-x>(): kotlin.Int
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-x>(): Int'
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int operator=null
|
||||
GET_BACKING_FIELD 'x: Int' type=kotlin.Int origin=null
|
||||
receiver: THIS of 'TestInitBlock' type=TestInitBlock
|
||||
ANONYMOUS_INITIALIZER TestInitBlock
|
||||
BLOCK_BODY
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit operator=null
|
||||
SET_BACKING_FIELD 'x: Int' type=kotlin.Unit origin=null
|
||||
receiver: THIS of 'TestInitBlock' type=TestInitBlock
|
||||
value: CONST Int type=kotlin.Int value='0'
|
||||
CONSTRUCTOR public constructor TestInitBlock()
|
||||
|
||||
+3
-3
@@ -13,7 +13,7 @@ FILE /superCalls.kt
|
||||
FUN DEFAULT_PROPERTY_ACCESSOR public open fun <get-bar>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
GET_BACKING_FIELD 'bar: String' type=kotlin.String operator=null
|
||||
GET_BACKING_FIELD 'bar: String' type=kotlin.String origin=null
|
||||
receiver: THIS of 'Base' type=Base
|
||||
CLASS CLASS Derived
|
||||
CONSTRUCTOR public constructor Derived()
|
||||
@@ -22,11 +22,11 @@ FILE /superCalls.kt
|
||||
INSTANCE_INITIALIZER_CALL classDescriptor='Derived'
|
||||
FUN public open override fun foo(): kotlin.Unit
|
||||
BLOCK_BODY
|
||||
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit operator=null
|
||||
CALL 'foo(): Unit' superQualifier=Base type=kotlin.Unit origin=null
|
||||
$this: THIS of 'Derived' type=Base
|
||||
PROPERTY public open override val bar: kotlin.String
|
||||
FUN public open override fun <get-bar>(): kotlin.String
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-bar>(): String'
|
||||
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String operator=GET_PROPERTY
|
||||
CALL '<get-bar>(): String' superQualifier=Base type=kotlin.String origin=GET_PROPERTY
|
||||
$this: THIS of 'Derived' type=Base
|
||||
|
||||
Reference in New Issue
Block a user