Files
kotlin-fork/compiler/testData/ir/irText/js/dynamic/dynamicArrayIncrementDecrement.fir.ir.txt
T
2024-01-18 15:48:55 +00:00

53 lines
4.0 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/dynamicArrayIncrementDecrement.kt
FUN name:testArrayIncrementDecrement visibility:public modality:FINAL <> (d:dynamic) returnType:kotlin.Unit
VALUE_PARAMETER name:d index:0 type:dynamic
BLOCK_BODY
VAR name:t1 type:dynamic [val]
BLOCK type=dynamic origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:dynamic [val]
GET_VAR 'd: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp_1 type:kotlin.String [val]
CONST String type=kotlin.String value="prefixIncr"
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
DYN_OP operator=INVOKE type=dynamic
receiver: DYN_MEMBER memberName='set' type=dynamic
GET_VAR 'val tmp_0: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_1: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
1: DYN_OP operator=PREFIX_INCREMENT type=dynamic
receiver: DYN_OP operator=ARRAY_ACCESS type=dynamic
receiver: GET_VAR 'val tmp_0: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_1: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
DYN_OP operator=INVOKE type=dynamic
receiver: DYN_MEMBER memberName='get' type=dynamic
GET_VAR 'val tmp_0: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_1: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
VAR name:t2 type:dynamic [val]
BLOCK type=dynamic origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp_2 type:dynamic [val]
GET_VAR 'd: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
VAR IR_TEMPORARY_VARIABLE name:tmp_3 type:kotlin.String [val]
CONST String type=kotlin.String value="prefixDecr"
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
DYN_OP operator=INVOKE type=dynamic
receiver: DYN_MEMBER memberName='set' type=dynamic
GET_VAR 'val tmp_2: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_3: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
1: DYN_OP operator=PREFIX_DECREMENT type=dynamic
receiver: DYN_OP operator=ARRAY_ACCESS type=dynamic
receiver: GET_VAR 'val tmp_2: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_3: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
DYN_OP operator=INVOKE type=dynamic
receiver: DYN_MEMBER memberName='get' type=dynamic
GET_VAR 'val tmp_2: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: GET_VAR 'val tmp_3: kotlin.String declared in <root>.testArrayIncrementDecrement' type=kotlin.String origin=null
VAR name:t3 type:dynamic [val]
DYN_OP operator=POSTFIX_INCREMENT type=dynamic
receiver: DYN_OP operator=ARRAY_ACCESS type=dynamic
receiver: GET_VAR 'd: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: CONST String type=kotlin.String value="postfixIncr"
VAR name:t4 type:dynamic [val]
DYN_OP operator=POSTFIX_DECREMENT type=dynamic
receiver: DYN_OP operator=ARRAY_ACCESS type=dynamic
receiver: GET_VAR 'd: dynamic declared in <root>.testArrayIncrementDecrement' type=dynamic origin=null
0: CONST String type=kotlin.String value="postfixDecr"