21fef70367
Previously, FIR used `_context_receiver_n` while FE10 used `<this>` for all context receiver parameters. This commit changes the code in FE10 to follow the convention from FIR.
246 lines
23 KiB
Plaintext
Vendored
246 lines
23 KiB
Plaintext
Vendored
FILE fqName:<root> fileName:/unaryOperators.kt
|
|
CLASS CLASS name:Result modality:FINAL visibility:public [data] superTypes:[kotlin.Any]
|
|
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Result
|
|
CONSTRUCTOR visibility:public <> (i:kotlin.Int) returnType:<root>.Result [primary]
|
|
VALUE_PARAMETER name:i index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
|
|
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Result modality:FINAL visibility:public [data] superTypes:[kotlin.Any]'
|
|
PROPERTY name:i visibility:public modality:FINAL [val]
|
|
FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]
|
|
EXPRESSION_BODY
|
|
GET_VAR 'i: kotlin.Int declared in <root>.Result.<init>' type=kotlin.Int origin=INITIALIZE_PROPERTY_FROM_PARAMETER
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-i> visibility:public modality:FINAL <> ($this:<root>.Result) returnType:kotlin.Int
|
|
correspondingProperty: PROPERTY name:i visibility:public modality:FINAL [val]
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun <get-i> (): kotlin.Int declared in <root>.Result'
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.<get-i>' type=<root>.Result origin=null
|
|
FUN GENERATED_DATA_CLASS_MEMBER name:component1 visibility:public modality:FINAL <> ($this:<root>.Result) returnType:kotlin.Int [operator]
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun component1 (): kotlin.Int [operator] declared in <root>.Result'
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.component1' type=<root>.Result origin=null
|
|
FUN GENERATED_DATA_CLASS_MEMBER name:copy visibility:public modality:FINAL <> ($this:<root>.Result, i:kotlin.Int) returnType:<root>.Result
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:i index:0 type:kotlin.Int
|
|
EXPRESSION_BODY
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.copy' type=<root>.Result origin=null
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun copy (i: kotlin.Int): <root>.Result declared in <root>.Result'
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: GET_VAR 'i: kotlin.Int declared in <root>.Result.copy' type=kotlin.Int origin=null
|
|
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.Result) returnType:kotlin.String
|
|
overridden:
|
|
public open fun toString (): kotlin.String declared in kotlin.Any
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.Result'
|
|
STRING_CONCATENATION type=kotlin.String
|
|
CONST String type=kotlin.String value="Result("
|
|
CONST String type=kotlin.String value="i="
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.toString' type=<root>.Result origin=null
|
|
CONST String type=kotlin.String value=")"
|
|
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.Result) returnType:kotlin.Int
|
|
overridden:
|
|
public open fun hashCode (): kotlin.Int declared in kotlin.Any
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public open fun hashCode (): kotlin.Int declared in <root>.Result'
|
|
CALL 'public open fun hashCode (): kotlin.Int [fake_override] declared in kotlin.Int' type=kotlin.Int origin=null
|
|
$this: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.hashCode' type=<root>.Result origin=null
|
|
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.Result, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
|
|
overridden:
|
|
public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in kotlin.Any
|
|
$this: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
|
|
BLOCK_BODY
|
|
WHEN type=kotlin.Unit origin=null
|
|
BRANCH
|
|
if: CALL 'public final fun EQEQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQEQ
|
|
arg0: GET_VAR '<this>: <root>.Result declared in <root>.Result.equals' type=<root>.Result origin=null
|
|
arg1: GET_VAR 'other: kotlin.Any? declared in <root>.Result.equals' type=kotlin.Any? origin=null
|
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Result'
|
|
CONST Boolean type=kotlin.Boolean value=true
|
|
WHEN type=kotlin.Unit origin=null
|
|
BRANCH
|
|
if: TYPE_OP type=kotlin.Boolean origin=NOT_INSTANCEOF typeOperand=<root>.Result
|
|
GET_VAR 'other: kotlin.Any? declared in <root>.Result.equals' type=kotlin.Any? origin=null
|
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Result'
|
|
CONST Boolean type=kotlin.Boolean value=false
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:<root>.Result [val]
|
|
TYPE_OP type=<root>.Result origin=CAST typeOperand=<root>.Result
|
|
GET_VAR 'other: kotlin.Any? declared in <root>.Result.equals' type=kotlin.Any? origin=null
|
|
WHEN type=kotlin.Unit origin=null
|
|
BRANCH
|
|
if: CALL 'public final fun not (): kotlin.Boolean [operator] declared in kotlin.Boolean' type=kotlin.Boolean origin=EXCLEQ
|
|
$this: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EXCLEQ
|
|
arg0: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR '<this>: <root>.Result declared in <root>.Result.equals' type=<root>.Result origin=null
|
|
arg1: GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:i type:kotlin.Int visibility:private [final]' type=kotlin.Int origin=null
|
|
receiver: GET_VAR 'val tmp_0: <root>.Result [val] declared in <root>.Result.equals' type=<root>.Result origin=null
|
|
then: RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Result'
|
|
CONST Boolean type=kotlin.Boolean value=false
|
|
RETURN type=kotlin.Nothing from='public open fun equals (other: kotlin.Any?): kotlin.Boolean [operator] declared in <root>.Result'
|
|
CONST Boolean type=kotlin.Boolean value=true
|
|
PROPERTY name:operationScore visibility:public modality:FINAL [var]
|
|
FIELD PROPERTY_BACKING_FIELD name:operationScore type:kotlin.Int visibility:private [static]
|
|
EXPRESSION_BODY
|
|
CONST Int type=kotlin.Int value=0
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-operationScore> visibility:public modality:FINAL <> () returnType:kotlin.Int
|
|
correspondingProperty: PROPERTY name:operationScore visibility:public modality:FINAL [var]
|
|
BLOCK_BODY
|
|
RETURN type=kotlin.Nothing from='public final fun <get-operationScore> (): kotlin.Int declared in <root>'
|
|
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:operationScore type:kotlin.Int visibility:private [static]' type=kotlin.Int origin=null
|
|
FUN DEFAULT_PROPERTY_ACCESSOR name:<set-operationScore> visibility:public modality:FINAL <> (<set-?>:kotlin.Int) returnType:kotlin.Unit
|
|
correspondingProperty: PROPERTY name:operationScore visibility:public modality:FINAL [var]
|
|
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
SET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:operationScore type:kotlin.Int visibility:private [static]' type=kotlin.Unit origin=null
|
|
value: GET_VAR '<set-?>: kotlin.Int declared in <root>.<set-operationScore>' type=kotlin.Int origin=null
|
|
FUN name:unaryMinus visibility:public modality:FINAL <> ($receiver:<root>.Result, _context_receiver_0:kotlin.Int) returnType:<root>.Result [operator]
|
|
contextReceiverParametersCount: 1
|
|
$receiver: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:_context_receiver_0 index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=PLUSEQ
|
|
CALL 'public final fun <set-operationScore> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=PLUSEQ
|
|
<set-?>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUSEQ
|
|
$this: CALL 'public final fun <get-operationScore> (): kotlin.Int declared in <root>' type=kotlin.Int origin=PLUSEQ
|
|
other: GET_VAR '_context_receiver_0: kotlin.Int declared in <root>.unaryMinus' type=kotlin.Int origin=null
|
|
RETURN type=kotlin.Nothing from='public final fun unaryMinus (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>'
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: CALL 'public final fun unaryMinus (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=UMINUS
|
|
$this: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.unaryMinus' type=<root>.Result origin=null
|
|
FUN name:unaryPlus visibility:public modality:FINAL <> ($receiver:<root>.Result, _context_receiver_0:kotlin.Int) returnType:<root>.Result [operator]
|
|
contextReceiverParametersCount: 1
|
|
$receiver: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:_context_receiver_0 index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=PLUSEQ
|
|
CALL 'public final fun <set-operationScore> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=PLUSEQ
|
|
<set-?>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUSEQ
|
|
$this: CALL 'public final fun <get-operationScore> (): kotlin.Int declared in <root>' type=kotlin.Int origin=PLUSEQ
|
|
other: GET_VAR '_context_receiver_0: kotlin.Int declared in <root>.unaryPlus' type=kotlin.Int origin=null
|
|
RETURN type=kotlin.Nothing from='public final fun unaryPlus (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>'
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: WHEN type=kotlin.Int origin=IF
|
|
BRANCH
|
|
if: CALL 'public final fun less (arg0: kotlin.Int, arg1: kotlin.Int): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=LT
|
|
arg0: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.unaryPlus' type=<root>.Result origin=null
|
|
arg1: CONST Int type=kotlin.Int value=0
|
|
then: CALL 'public final fun unaryMinus (): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=UMINUS
|
|
$this: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.unaryPlus' type=<root>.Result origin=null
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.unaryPlus' type=<root>.Result origin=null
|
|
FUN name:inc visibility:public modality:FINAL <> ($receiver:<root>.Result, _context_receiver_0:kotlin.Int) returnType:<root>.Result [operator]
|
|
contextReceiverParametersCount: 1
|
|
$receiver: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:_context_receiver_0 index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=PLUSEQ
|
|
CALL 'public final fun <set-operationScore> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=PLUSEQ
|
|
<set-?>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUSEQ
|
|
$this: CALL 'public final fun <get-operationScore> (): kotlin.Int declared in <root>' type=kotlin.Int origin=PLUSEQ
|
|
other: GET_VAR '_context_receiver_0: kotlin.Int declared in <root>.inc' type=kotlin.Int origin=null
|
|
RETURN type=kotlin.Nothing from='public final fun inc (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>'
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUS
|
|
$this: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.inc' type=<root>.Result origin=null
|
|
other: CONST Int type=kotlin.Int value=1
|
|
FUN name:dec visibility:public modality:FINAL <> ($receiver:<root>.Result, _context_receiver_0:kotlin.Int) returnType:<root>.Result [operator]
|
|
contextReceiverParametersCount: 1
|
|
$receiver: VALUE_PARAMETER name:<this> type:<root>.Result
|
|
VALUE_PARAMETER name:_context_receiver_0 index:0 type:kotlin.Int
|
|
BLOCK_BODY
|
|
BLOCK type=kotlin.Unit origin=PLUSEQ
|
|
CALL 'public final fun <set-operationScore> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=PLUSEQ
|
|
<set-?>: CALL 'public final fun plus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=PLUSEQ
|
|
$this: CALL 'public final fun <get-operationScore> (): kotlin.Int declared in <root>' type=kotlin.Int origin=PLUSEQ
|
|
other: GET_VAR '_context_receiver_0: kotlin.Int declared in <root>.dec' type=kotlin.Int origin=null
|
|
RETURN type=kotlin.Nothing from='public final fun dec (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>'
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: CALL 'public final fun minus (other: kotlin.Int): kotlin.Int [operator] declared in kotlin.Int' type=kotlin.Int origin=MINUS
|
|
$this: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR '<this>: <root>.Result declared in <root>.dec' type=<root>.Result origin=null
|
|
other: CONST Int type=kotlin.Int value=1
|
|
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
|
|
BLOCK_BODY
|
|
VAR name:result type:<root>.Result [var]
|
|
CONSTRUCTOR_CALL 'public constructor <init> (i: kotlin.Int) [primary] declared in <root>.Result' type=<root>.Result origin=null
|
|
i: CONST Int type=kotlin.Int value=0
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
CALL 'public final fun with <T, R> (receiver: T of kotlin.StandardKt.with, block: @[ExtensionFunctionType] kotlin.Function1<T of kotlin.StandardKt.with, R of kotlin.StandardKt.with>): R of kotlin.StandardKt.with [inline] declared in kotlin.StandardKt' type=<root>.Result origin=null
|
|
<T>: kotlin.Int
|
|
<R>: <root>.Result
|
|
receiver: CONST Int type=kotlin.Int value=1
|
|
block: FUN_EXPR type=@[ExtensionFunctionType] kotlin.Function1<kotlin.Int, <root>.Result> origin=LAMBDA
|
|
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> ($receiver:kotlin.Int) returnType:<root>.Result
|
|
$receiver: VALUE_PARAMETER name:$this$with type:kotlin.Int
|
|
BLOCK_BODY
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
BLOCK type=<root>.Result origin=POSTFIX_INCR
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:<root>.Result [val]
|
|
GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=POSTFIX_INCR
|
|
SET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=kotlin.Unit origin=POSTFIX_INCR
|
|
CALL 'public final fun inc (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>' type=<root>.Result origin=POSTFIX_INCR
|
|
$receiver: GET_VAR 'val tmp_1: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
_context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
|
|
GET_VAR 'val tmp_1: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
BLOCK type=<root>.Result origin=POSTFIX_INCR
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:<root>.Result [val]
|
|
GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=POSTFIX_INCR
|
|
SET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=kotlin.Unit origin=POSTFIX_INCR
|
|
CALL 'public final fun inc (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>' type=<root>.Result origin=POSTFIX_INCR
|
|
$receiver: GET_VAR 'val tmp_2: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
_context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
|
|
GET_VAR 'val tmp_2: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
CALL 'public final fun unaryMinus (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>' type=<root>.Result origin=UMINUS
|
|
$receiver: GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=null
|
|
_context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
|
|
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
|
|
CALL 'public final fun unaryPlus (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>' type=<root>.Result origin=UPLUS
|
|
$receiver: GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=null
|
|
_context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
|
|
RETURN type=kotlin.Nothing from='local final fun <anonymous> (): <root>.Result declared in <root>.box'
|
|
BLOCK type=<root>.Result origin=POSTFIX_DECR
|
|
VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:<root>.Result [val]
|
|
GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=POSTFIX_DECR
|
|
SET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=kotlin.Unit origin=POSTFIX_DECR
|
|
CALL 'public final fun dec (_context_receiver_0: kotlin.Int): <root>.Result [operator] declared in <root>' type=<root>.Result origin=POSTFIX_DECR
|
|
$receiver: GET_VAR 'val tmp_3: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
_context_receiver_0: GET_VAR '$this$with: kotlin.Int declared in <root>.box.<anonymous>' type=kotlin.Int origin=null
|
|
GET_VAR 'val tmp_3: <root>.Result [val] declared in <root>.box.<anonymous>' type=<root>.Result origin=null
|
|
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
|
|
WHEN type=kotlin.String origin=IF
|
|
BRANCH
|
|
if: WHEN type=kotlin.Boolean origin=ANDAND
|
|
BRANCH
|
|
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
|
arg0: CALL 'public final fun <get-i> (): kotlin.Int declared in <root>.Result' type=kotlin.Int origin=GET_PROPERTY
|
|
$this: GET_VAR 'var result: <root>.Result [var] declared in <root>.box' type=<root>.Result origin=null
|
|
arg1: CONST Int type=kotlin.Int value=1
|
|
then: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
|
|
arg0: CALL 'public final fun <get-operationScore> (): kotlin.Int declared in <root>' type=kotlin.Int origin=GET_PROPERTY
|
|
arg1: CONST Int type=kotlin.Int value=5
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: CONST Boolean type=kotlin.Boolean value=false
|
|
then: CONST String type=kotlin.String value="OK"
|
|
BRANCH
|
|
if: CONST Boolean type=kotlin.Boolean value=true
|
|
then: CONST String type=kotlin.String value="fail"
|