Support Lateinit lowering changes
(cherry picked from commit 621a377b4c669f4838de76d3a592e288ed962df2)
This commit is contained in:
committed by
Vasily Levchenko
parent
ad521b69d8
commit
f604b776f6
+6
-2
@@ -112,8 +112,12 @@ internal val lowerAfterInlinePhase = makeKonanModuleOpPhase(
|
||||
|
||||
/* IrFile phases */
|
||||
|
||||
internal val lateinitPhase = makeKonanFileLoweringPhase(
|
||||
::LateinitLowering,
|
||||
internal val lateinitPhase = makeKonanFileOpPhase(
|
||||
{ context, irFile ->
|
||||
NullableFieldsForLateinitCreationLowering(context).lower(irFile)
|
||||
NullableFieldsDeclarationLowering(context).lower(irFile)
|
||||
LateinitUsageLowering(context).lower(irFile)
|
||||
},
|
||||
name = "Lateinit",
|
||||
description = "Lateinit properties lowering",
|
||||
prerequisite = setOf(inlinePhase)
|
||||
|
||||
Reference in New Issue
Block a user