IrOperator -> IrStatementOrigin
This commit is contained in:
committed by
Dmitry Petrov
parent
5386d27284
commit
a8a6477ce5
+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'
|
||||
|
||||
Reference in New Issue
Block a user