IR: don't use descriptors in rendering (work in progress)
There's some descriptor-based code remaining. Need some more work on IR.
This commit is contained in:
+26
-27
@@ -1,42 +1,41 @@
|
||||
FILE fqName:<root> fileName:/booleanOperators.kt
|
||||
FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
|
||||
FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1(Boolean, Boolean): Boolean'
|
||||
RETURN type=kotlin.Nothing from='FUN name:test1 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]'
|
||||
WHEN type=kotlin.Boolean origin=ANDAND
|
||||
BRANCH
|
||||
if: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
|
||||
then: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
|
||||
if: GET_VAR 'VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
then: GET_VAR 'VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: CONST Boolean type=kotlin.Boolean value=false
|
||||
FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
|
||||
FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2(Boolean, Boolean): Boolean'
|
||||
RETURN type=kotlin.Nothing from='FUN name:test2 visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]'
|
||||
WHEN type=kotlin.Boolean origin=OROR
|
||||
BRANCH
|
||||
if: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
|
||||
if: GET_VAR 'VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
then: CONST Boolean type=kotlin.Boolean value=true
|
||||
BRANCH
|
||||
if: CONST Boolean type=kotlin.Boolean value=true
|
||||
then: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
|
||||
FUN name:test1x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
|
||||
then: GET_VAR 'VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
FUN name:test1x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test1x(Boolean, Boolean): Boolean'
|
||||
CALL 'and(Boolean): Boolean' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
|
||||
other: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
|
||||
FUN name:test2x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:test1x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:and visibility:public modality:FINAL <> ($this:kotlin.Boolean, other:kotlin.Boolean) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
other: GET_VAR 'VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
FUN name:test2x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]
|
||||
VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='test2x(Boolean, Boolean): Boolean'
|
||||
CALL 'or(Boolean): Boolean' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'value-parameter a: Boolean' type=kotlin.Boolean origin=null
|
||||
other: GET_VAR 'value-parameter b: Boolean' type=kotlin.Boolean origin=null
|
||||
|
||||
RETURN type=kotlin.Nothing from='FUN name:test2x visibility:public modality:FINAL <> (a:kotlin.Boolean, b:kotlin.Boolean) returnType:kotlin.Boolean flags:[]'
|
||||
CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:or visibility:public modality:FINAL <> ($this:kotlin.Boolean, other:kotlin.Boolean) returnType:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
$this: GET_VAR 'VALUE_PARAMETER name:a index:0 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
other: GET_VAR 'VALUE_PARAMETER name:b index:1 type:kotlin.Boolean flags:[]' type=kotlin.Boolean origin=null
|
||||
|
||||
Reference in New Issue
Block a user