Files
kotlin-fork/compiler/testData/ir/irText/expressions/javaSyntheticPropertyAccess.txt
T
Dmitry Petrov e49eae528c IR: don't use descriptors in rendering (work in progress)
There's some descriptor-based code remaining. Need some more work on IR.
2019-03-21 11:23:51 +03:00

35 lines
3.8 KiB
Plaintext
Vendored

FILE fqName:<root> fileName:/javaSyntheticPropertyAccess.kt
FUN name:test visibility:public modality:FINAL <> (j:<root>.J) returnType:kotlin.Unit flags:[]
VALUE_PARAMETER name:j index:0 type:<root>.J flags:[]
BLOCK_BODY
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:getFoo visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=GET_PROPERTY
$this: GET_VAR 'VALUE_PARAMETER name:j index:0 type:<root>.J flags:[]' type=<root>.J origin=null
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:setFoo visibility:public modality:OPEN <> ($this:<root>.J, x:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=EQ
$this: GET_VAR 'VALUE_PARAMETER name:j index:0 type:<root>.J flags:[]' type=<root>.J origin=null
x: CONST Int type=kotlin.Int value=1
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
typeOperand: CLASS IR_EXTERNAL_DECLARATION_STUB OBJECT name:Unit modality:FINAL visibility:public flags:[] superTypes:[kotlin.Any]
BLOCK type=kotlin.Int origin=POSTFIX_INCR
VAR IR_TEMPORARY_VARIABLE name:tmp0_receiver type:<root>.J flags:[val]
GET_VAR 'VALUE_PARAMETER name:j index:0 type:<root>.J flags:[]' type=<root>.J origin=null
BLOCK type=kotlin.Int origin=POSTFIX_INCR
VAR IR_TEMPORARY_VARIABLE name:tmp1 type:kotlin.Int flags:[val]
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:getFoo visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=POSTFIX_INCR
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_receiver type:<root>.J flags:[val]' type=<root>.J origin=null
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:setFoo visibility:public modality:OPEN <> ($this:<root>.J, x:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=POSTFIX_INCR
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp0_receiver type:<root>.J flags:[val]' type=<root>.J origin=null
x: CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:inc visibility:public modality:FINAL <> ($this:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=POSTFIX_INCR
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp1 type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp1 type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
BLOCK type=kotlin.Unit origin=PLUSEQ
VAR IR_TEMPORARY_VARIABLE name:tmp2_receiver type:<root>.J flags:[val]
GET_VAR 'VALUE_PARAMETER name:j index:0 type:<root>.J flags:[]' type=<root>.J origin=null
CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:setFoo visibility:public modality:OPEN <> ($this:<root>.J, x:kotlin.Int) returnType:kotlin.Unit flags:[]' type=kotlin.Unit origin=PLUSEQ
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp2_receiver type:<root>.J flags:[val]' type=<root>.J origin=null
x: CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:plus visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=PLUSEQ
$this: CALL 'FUN IR_EXTERNAL_JAVA_DECLARATION_STUB name:getFoo visibility:public modality:OPEN <> ($this:<root>.J) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=PLUSEQ
$this: GET_VAR 'VAR IR_TEMPORARY_VARIABLE name:tmp2_receiver type:<root>.J flags:[val]' type=<root>.J origin=null
other: CONST Int type=kotlin.Int value=1