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:
+37
-38
@@ -1,46 +1,45 @@
|
||||
FILE fqName:<root> fileName:/calls.kt
|
||||
FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:
|
||||
FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:y index:1 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='foo(Int, Int): Int'
|
||||
GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='bar(Int): Int'
|
||||
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
RETURN type=kotlin.Nothing from='FUN name:bar visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: CONST Int type=kotlin.Int value=1
|
||||
FUN name:qux visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
FUN name:qux visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='qux(Int): Int'
|
||||
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
|
||||
x: CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:qux visibility:public modality:FINAL <> (x:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
x: CALL 'FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='ext1() on Int: Int'
|
||||
GET_VAR 'this@ext1: Int' type=kotlin.Int origin=null
|
||||
FUN name:ext2 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
GET_VAR 'VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUN name:ext2 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='ext2(Int) on Int: Int'
|
||||
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'this@ext2: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
FUN name:ext3 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:
|
||||
RETURN type=kotlin.Nothing from='FUN name:ext2 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
x: GET_VAR 'VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
FUN name:ext3 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:[]
|
||||
$receiver: VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]
|
||||
VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]
|
||||
BLOCK_BODY
|
||||
RETURN type=kotlin.Nothing from='ext3(Int) on Int: Int'
|
||||
CALL 'foo(Int, Int): Int' type=kotlin.Int origin=null
|
||||
x: CALL 'ext1() on Int: Int' type=kotlin.Int origin=null
|
||||
$receiver: GET_VAR 'this@ext3: Int' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'value-parameter x: Int' type=kotlin.Int origin=null
|
||||
|
||||
RETURN type=kotlin.Nothing from='FUN name:ext3 visibility:public modality:FINAL <> ($receiver:kotlin.Int, x:kotlin.Int) returnType:kotlin.Int flags:[]'
|
||||
CALL 'FUN name:foo visibility:public modality:FINAL <> (x:kotlin.Int, y:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
x: CALL 'FUN name:ext1 visibility:public modality:FINAL <> ($receiver:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
$receiver: GET_VAR 'VALUE_PARAMETER name:<this> type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
y: GET_VAR 'VALUE_PARAMETER name:x index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
|
||||
|
||||
Reference in New Issue
Block a user