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
@@ -1,28 +1,28 @@
FILE fqName:<root> fileName:/badBreakContinue.kt
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
FUN name:test1 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
BLOCK_BODY
ERROR_EXPR 'Loop not found for break expression: break' type=kotlin.Nothing
ERROR_EXPR 'Loop not found for continue expression: continue' type=kotlin.Nothing
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
FUN name:test2 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
BLOCK_BODY
WHILE label=L1 origin=WHILE_LOOP
condition: CONST Boolean type=kotlin.Boolean value=true
body: BLOCK type=kotlin.Unit origin=null
ERROR_EXPR 'Loop not found for break expression: break@ERROR' type=kotlin.Nothing
ERROR_EXPR 'Loop not found for continue expression: continue@ERROR' type=kotlin.Nothing
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
FUN name:test3 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
BLOCK_BODY
WHILE label=L1 origin=WHILE_LOOP
condition: CONST Boolean type=kotlin.Boolean value=true
body: BLOCK type=kotlin.Unit origin=null
VAR name:lambda type:kotlin.Function0<kotlin.Nothing> flags:val
VAR name:lambda type:kotlin.Function0<kotlin.Nothing> flags:[val]
BLOCK type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]
BLOCK_BODY
ERROR_EXPR 'Loop not found for break expression: break@L1' type=kotlin.Nothing
ERROR_EXPR 'Loop not found for continue expression: continue@L1' type=kotlin.Nothing
FUNCTION_REFERENCE '<anonymous>(): Nothing' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:
FUNCTION_REFERENCE 'FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> () returnType:kotlin.Nothing flags:[]' type=kotlin.Function0<kotlin.Nothing> origin=LAMBDA
FUN name:test4 visibility:public modality:FINAL <> () returnType:kotlin.Unit flags:[]
BLOCK_BODY
WHILE label=null origin=WHILE_LOOP
condition: ERROR_EXPR 'Loop not found for break expression: break' type=kotlin.Nothing