IR: Set when.origin for IrIfElseImpl
Change-Id: I38510b59e3dc936baadbfe3ef2702990493815e5
This commit is contained in:
committed by
max-kammerer
parent
18198987a3
commit
6bbb0269b1
@@ -119,7 +119,7 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
CALL 'inc(): Int' type=kotlin.Int origin=PREFIX_INCR
|
||||
$this: GET_VAR 'j: Int' type=kotlin.Int origin=PREFIX_INCR
|
||||
GET_VAR 'j: Int' type=kotlin.Int origin=PREFIX_INCR
|
||||
condition: WHEN type=kotlin.Boolean origin=null
|
||||
condition: WHEN type=kotlin.Boolean origin=IF
|
||||
BRANCH
|
||||
if: CALL 'greaterOrEqual(Int, Int): Boolean' type=kotlin.Boolean origin=GTEQ
|
||||
arg0: GET_VAR 'j: Int' type=kotlin.Int origin=null
|
||||
@@ -128,7 +128,7 @@ FILE fqName:<root> fileName:/breakContinueInLoopHeader.kt
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: BREAK label=null loop.label=Inner
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'i: Int' type=kotlin.Int origin=null
|
||||
|
||||
+2
-2
@@ -50,14 +50,14 @@ FILE fqName:<root> fileName:/elvis.kt
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any? flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Any? flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
GET_VAR 'value-parameter b: Any?' type=kotlin.Any? origin=null
|
||||
then: RETURN type=kotlin.Nothing from='test3(Any?, Any?): String'
|
||||
CONST String type=kotlin.String value=""
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String?
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ FILE fqName:<root> fileName:/eqeqRhsConditionPossiblyAffectingLhs.kt
|
||||
RETURN type=kotlin.Nothing from='test(Any): Boolean'
|
||||
CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
|
||||
arg1: WHEN type=kotlin.Double origin=null
|
||||
arg1: WHEN type=kotlin.Double origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Double
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Double modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Double>; java.io.Serializable]
|
||||
|
||||
+5
-5
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/whenByFloatingPoint.kt
|
||||
FUN name:testSmartCastInWhenSubject visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Double
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Double modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Double>; java.io.Serializable]
|
||||
@@ -44,7 +44,7 @@ FILE fqName:<root> fileName:/whenByFloatingPoint.kt
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Double flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Double
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Double modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Double>; java.io.Serializable]
|
||||
@@ -94,14 +94,14 @@ FILE fqName:<root> fileName:/whenByFloatingPoint.kt
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Double
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Double modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Double>; java.io.Serializable]
|
||||
GET_VAR 'value-parameter x: Any' type=kotlin.Any origin=null
|
||||
then: RETURN type=kotlin.Nothing from='testSmartCastToDifferentTypes(Any, Any): Int'
|
||||
CONST Int type=kotlin.Int value=-1
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Float
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Float modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Float>; java.io.Serializable]
|
||||
@@ -143,7 +143,7 @@ FILE fqName:<root> fileName:/whenByFloatingPoint.kt
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'tmp0_subject: Any' type=kotlin.Any origin=null
|
||||
arg1: CALL 'foo(Double): Double' type=kotlin.Double origin=null
|
||||
x: WHEN type=kotlin.Double origin=null
|
||||
x: WHEN type=kotlin.Double origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Double
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Double modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Double>; java.io.Serializable]
|
||||
|
||||
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/implicitCastToNonNull.kt
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.String? flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(String?): Int'
|
||||
WHEN type=kotlin.Int origin=null
|
||||
WHEN type=kotlin.Int origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter x: String?' type=kotlin.String? origin=null
|
||||
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/implicitCastToNonNull.kt
|
||||
VALUE_PARAMETER name:x index:0 type:T flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2(T): Int'
|
||||
WHEN type=kotlin.Int origin=null
|
||||
WHEN type=kotlin.Int origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter x: T' type=T origin=null
|
||||
@@ -33,7 +33,7 @@ FILE fqName:<root> fileName:/implicitCastToNonNull.kt
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test3(Any): Int'
|
||||
WHEN type=kotlin.Int origin=null
|
||||
WHEN type=kotlin.Int origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=T
|
||||
typeOperand: TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.CharSequence?]
|
||||
@@ -50,7 +50,7 @@ FILE fqName:<root> fileName:/implicitCastToNonNull.kt
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any? flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test4(Any?): Int'
|
||||
WHEN type=kotlin.Int origin=null
|
||||
WHEN type=kotlin.Int origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=T
|
||||
typeOperand: TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.CharSequence]
|
||||
@@ -68,7 +68,7 @@ FILE fqName:<root> fileName:/implicitCastToNonNull.kt
|
||||
VALUE_PARAMETER name:x index:0 type:T flags:
|
||||
VALUE_PARAMETER name:fn index:1 type:kotlin.Function1<S, kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
|
||||
@@ -4,7 +4,7 @@ FILE fqName:<root> fileName:/implicitCastToTypeParameter.kt
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1() on Any: T?'
|
||||
WHEN type=T? origin=null
|
||||
WHEN type=T? origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=T
|
||||
typeOperand: TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any]
|
||||
@@ -38,7 +38,7 @@ FILE fqName:<root> fileName:/implicitCastToTypeParameter.kt
|
||||
$receiver: VALUE_PARAMETER name:<this> type:Foo<T> flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='<get-asT>() on Foo<T>: T?'
|
||||
WHEN type=T? origin=null
|
||||
WHEN type=T? origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=T
|
||||
typeOperand: TYPE_PARAMETER name:T index:0 variance: superTypes:[kotlin.Any]
|
||||
|
||||
+3
-3
@@ -16,18 +16,18 @@ FILE fqName:<root> fileName:/kt24804.kt
|
||||
CALL 'plus(Int): Int' type=kotlin.Int origin=PLUSEQ
|
||||
$this: GET_VAR 'z: Int' type=kotlin.Int origin=PLUSEQ
|
||||
other: CONST Int type=kotlin.Int value=1
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'greater(Int, Int): Boolean' type=kotlin.Boolean origin=GT
|
||||
arg0: GET_VAR 'z: Int' type=kotlin.Int origin=null
|
||||
arg1: CONST Int type=kotlin.Int value=100
|
||||
then: RETURN type=kotlin.Nothing from='run(Boolean, Boolean): String'
|
||||
CONST String type=kotlin.String value="NOT_OK"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: GET_VAR 'value-parameter x: Boolean' type=kotlin.Boolean origin=null
|
||||
then: CONTINUE label=l2 loop.label=l2
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: GET_VAR 'value-parameter y: Boolean' type=kotlin.Boolean origin=null
|
||||
then: CONTINUE label=l2 loop.label=l2
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ FILE fqName:<root> fileName:/kt27933.kt
|
||||
BLOCK_BODY
|
||||
VAR name:r type:kotlin.String flags:var
|
||||
CONST String type=kotlin.String value=""
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -16,7 +16,7 @@ FILE fqName:<root> fileName:/kt27933.kt
|
||||
CALL 'plus(Any?): String' type=kotlin.String origin=PLUSEQ
|
||||
$this: GET_VAR 'r: String' type=kotlin.String origin=PLUSEQ
|
||||
other: CONST String type=kotlin.String value="O"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'r: String' type=kotlin.String origin=null
|
||||
|
||||
@@ -54,7 +54,7 @@ FILE fqName:<root> fileName:/samConversions.kt
|
||||
$this: GET_VAR 'this@test4: J' type=J origin=null
|
||||
r: TYPE_OP type=java.lang.Runnable? origin=SAM_CONVERSION typeOperand=java.lang.Runnable?
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
WHEN type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
WHEN type=kotlin.Function0<kotlin.Unit> origin=IF
|
||||
BRANCH
|
||||
if: GET_VAR 'value-parameter flag: Boolean' type=kotlin.Boolean origin=null
|
||||
then: GET_VAR 'value-parameter a: () -> Unit' type=kotlin.Function0<kotlin.Unit> origin=null
|
||||
|
||||
+6
-6
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Function0<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
@@ -15,7 +15,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Function0<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
@@ -29,7 +29,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
FUN name:test3 visibility:public modality:FINAL <> (a:kotlin.Function0<kotlin.Unit>) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Function0<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Function0<kotlin.Unit> flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Function0<kotlin.Unit> flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
@@ -64,7 +64,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
FUN name:test5 visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
@@ -78,7 +78,7 @@ FILE fqName:<root> fileName:/samConversionsWithSmartCasts.kt
|
||||
FUN name:test5x visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=java.lang.Runnable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB INTERFACE name:Runnable modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
|
||||
@@ -9,7 +9,7 @@ FILE fqName:<root> fileName:/Derived.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:Derived flags:
|
||||
VALUE_PARAMETER name:v index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
|
||||
+3
-3
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/smartCasts.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
@@ -47,7 +47,7 @@ FILE fqName:<root> fileName:/smartCasts.kt
|
||||
FUN name:test2 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.String flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
@@ -62,7 +62,7 @@ FILE fqName:<root> fileName:/smartCasts.kt
|
||||
FUN name:test3 visibility:public modality:FINAL <> (x:kotlin.Any) returnType:kotlin.String flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
|
||||
@@ -42,7 +42,7 @@ FILE fqName:<root> fileName:/smartCastsWithDestructuring.kt
|
||||
FUN name:test visibility:public modality:FINAL <> (x:I1) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:x index:0 type:I1 flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=I2
|
||||
typeOperand: CLASS INTERFACE name:I2 modality:ABSTRACT visibility:public flags: superTypes:[kotlin.Any]
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/throw.kt
|
||||
FUN name:testImplicitCast visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Throwable
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Throwable modality:OPEN visibility:public flags: superTypes:[kotlin.Any; java.io.Serializable]
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/tryCatchWithImplicitCast.kt
|
||||
FUN name:testImplicitCast visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.String
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:String modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.String>; kotlin.CharSequence; java.io.Serializable]
|
||||
|
||||
+11
-11
@@ -160,7 +160,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
$this: VALUE_PARAMETER name:<this> type:kotlin.Any flags:
|
||||
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -170,7 +170,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=1
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="1"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -180,7 +180,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=2
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="2"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -190,7 +190,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=3
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="3"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -202,7 +202,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
CALL '<set-p>(Int): Unit' type=kotlin.Unit origin=EQ
|
||||
$this: GET_OBJECT 'C' type=C
|
||||
<set-?>: CONST Int type=kotlin.Int value=5
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -211,7 +211,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=5
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="5"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -221,7 +221,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=6
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="6"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -232,7 +232,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST String type=kotlin.String value="7"
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="7"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -243,7 +243,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST String type=kotlin.String value="8"
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="8"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -254,7 +254,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST Int type=kotlin.Int value=9
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="9"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
@@ -265,7 +265,7 @@ FILE fqName:<root> fileName:/useImportedMember.kt
|
||||
arg1: CONST String type=kotlin.String value="10"
|
||||
then: RETURN type=kotlin.Nothing from='box(): String'
|
||||
CONST String type=kotlin.String value="10"
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
|
||||
@@ -2,7 +2,7 @@ FILE fqName:<root> fileName:/varargWithImplicitCast.kt
|
||||
FUN name:testScalar visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.IntArray flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.Int
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Int modality:FINAL visibility:public flags: superTypes:[kotlin.Number; kotlin.Comparable<kotlin.Int>; java.io.Serializable]
|
||||
@@ -18,7 +18,7 @@ FILE fqName:<root> fileName:/varargWithImplicitCast.kt
|
||||
FUN name:testSpread visibility:public modality:FINAL <> (a:kotlin.Any) returnType:kotlin.IntArray flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Any flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=kotlin.IntArray
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:IntArray modality:FINAL visibility:public flags: superTypes:[kotlin.Any; kotlin.Cloneable; java.io.Serializable]
|
||||
|
||||
@@ -72,7 +72,7 @@ FILE fqName:<root> fileName:/whileDoWhile.kt
|
||||
BLOCK_BODY
|
||||
VAR name:a type:kotlin.Any? flags:val
|
||||
CONST Null type=kotlin.Nothing? value=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: TYPE_OP type=kotlin.Boolean origin=INSTANCEOF typeOperand=kotlin.Boolean
|
||||
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS name:Boolean modality:FINAL visibility:public flags: superTypes:[kotlin.Comparable<kotlin.Boolean>; java.io.Serializable]
|
||||
|
||||
+2
-2
@@ -56,7 +56,7 @@ FILE fqName:<root> fileName:/nonLocalReturn.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
@@ -77,7 +77,7 @@ FILE fqName:<root> fileName:/nonLocalReturn.kt
|
||||
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:kotlin.Int) returnType:kotlin.Unit flags:
|
||||
VALUE_PARAMETER name:it index:0 type:kotlin.Int flags:
|
||||
BLOCK_BODY
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'EQEQ(Any?, Any?): Boolean' type=kotlin.Boolean origin=EQEQ
|
||||
arg0: GET_VAR 'value-parameter it: Int' type=kotlin.Int origin=null
|
||||
|
||||
@@ -13,7 +13,7 @@ FILE fqName:<root> fileName:/coercionInLoop.kt
|
||||
condition: CALL 'hasNext(): Boolean' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'x: DoubleIterator' type=kotlin.collections.DoubleIterator origin=null
|
||||
body: BLOCK type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=null
|
||||
WHEN type=kotlin.Unit origin=IF
|
||||
BRANCH
|
||||
if: CALL 'NOT(Boolean): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
arg0: CALL 'ieee754equals(Double?, Double?): Boolean' type=kotlin.Boolean origin=EXCLEQ
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ FILE fqName:<root> fileName:/builtinMap.kt
|
||||
VALUE_PARAMETER name:pair index:0 type:kotlin.Pair<K1, V1> flags:
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='plus(Pair<K1, V1>) on Map<out K1, V1>: Map<K1, V1>'
|
||||
WHEN type=kotlin.collections.Map<K1, V1> origin=null
|
||||
WHEN type=kotlin.collections.Map<K1, V1> origin=IF
|
||||
BRANCH
|
||||
if: CALL 'isEmpty(): Boolean' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'this@plus: Map<out K1, V1>' type=kotlin.collections.Map<out K1, V1> origin=null
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ FILE fqName:<root> fileName:/intersectionType2.kt
|
||||
VAR name:nn type:C flags:val
|
||||
CALL 'constructor C()' type=C origin=null
|
||||
VAR name:c type:kotlin.Any flags:val
|
||||
WHEN type=kotlin.Any origin=null
|
||||
WHEN type=kotlin.Any origin=IF
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'mm: B' type=B origin=null
|
||||
|
||||
Reference in New Issue
Block a user