Mads Ager
6fc0de39c2
[PSI2IR] Propagate smart cast information for variable loads.
...
This gives us more precise type information and can enable backend
optimizations. This was motivated by when expressions not compiled
to table switches in the JVM_IR backend.
Fixed KT-36845.
2021-01-11 12:01:47 +03:00
Dmitry Petrov
81b30b7399
Update bytecode text tests for JVM_IR
2020-02-20 14:20:21 +03:00
Mads Ager
3a11322506
Enable bytecode text tests for the JVM_IR backend.
2018-12-21 16:20:45 +01:00
Denis Zharkov
5a591be25f
Convert SwitchCodegen to Kotlin, prettify and optimize codegen
2018-02-22 11:42:18 +03:00
Mikhael Bogdanov
df8394bcd2
Fix for KT-14597: "When" over smartcasted enum is broken and breaks all other "when"
...
#KT-14597 Fixed
2017-01-24 15:17:47 +01:00