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:
Dmitry Petrov
2019-03-14 14:17:26 +03:00
parent bd3d5a9dbb
commit e49eae528c
319 changed files with 18613 additions and 18703 deletions
+7 -7
View File
@@ -2,15 +2,15 @@
// FUN: foo
BB 0
CONTENT
1 FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Int) returnType:kotlin.Int flags:
2 GET_VAR 'value-parameter arg: Int' type=kotlin.Int origin=null
1 FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Int) returnType:kotlin.Int flags:[]
2 GET_VAR 'VALUE_PARAMETER name:arg index:0 type:kotlin.Int flags:[]' type=kotlin.Int origin=null
3 CONST Int type=kotlin.Int value=2
4 CALL 'times(Int): Int' type=kotlin.Int origin=MUL
5 VAR name:dbl type:kotlin.Int flags:val
6 GET_VAR 'dbl: Int' type=kotlin.Int origin=null
7 RETURN type=kotlin.Nothing from='foo(Int): Int'
4 CALL 'FUN IR_EXTERNAL_DECLARATION_STUB name:times visibility:public modality:FINAL <> ($this:kotlin.Int, other:kotlin.Int) returnType:kotlin.Int flags:[]' type=kotlin.Int origin=MUL
5 VAR name:dbl type:kotlin.Int flags:[val]
6 GET_VAR 'VAR name:dbl type:kotlin.Int flags:[val]' type=kotlin.Int origin=null
7 RETURN type=kotlin.Nothing from='FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Int) returnType:kotlin.Int flags:[]'
OUTGOING -> NONE
Function exit: FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Int) returnType:kotlin.Int flags:
Function exit: FUN name:foo visibility:public modality:FINAL <> (arg:kotlin.Int) returnType:kotlin.Int flags:[]
// END FUN: foo