Temporrary disable inline and restore interop lowering.
This commit is contained in:
+4
-1
@@ -18,7 +18,7 @@ internal class KonanLower(val context: Context) {
|
|||||||
val phaser = PhaseManager(context)
|
val phaser = PhaseManager(context)
|
||||||
|
|
||||||
phaser.phase(KonanPhase.LOWER_INLINE) {
|
phaser.phase(KonanPhase.LOWER_INLINE) {
|
||||||
FunctionInlining(context).inline(irFile)
|
//FunctionInlining(context).inline(irFile)
|
||||||
}
|
}
|
||||||
phaser.phase(KonanPhase.LOWER_ENUMS) {
|
phaser.phase(KonanPhase.LOWER_ENUMS) {
|
||||||
EnumClassLowering(context).run(irFile)
|
EnumClassLowering(context).run(irFile)
|
||||||
@@ -51,5 +51,8 @@ internal class KonanLower(val context: Context) {
|
|||||||
phaser.phase(KonanPhase.AUTOBOX) {
|
phaser.phase(KonanPhase.AUTOBOX) {
|
||||||
Autoboxing(context).lower(irFile)
|
Autoboxing(context).lower(irFile)
|
||||||
}
|
}
|
||||||
|
phaser.phase(KonanPhase.LOWER_INTEROP) {
|
||||||
|
InteropLowering(context).runOnFilePostfix(irFile)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user