[IR] Drop all usages of Ir.irModule
This commit is contained in:
committed by
Space Team
parent
a90664574c
commit
3355f04fa1
+1
-1
@@ -164,7 +164,7 @@ internal class Context(
|
|||||||
override lateinit var ir: KonanIr
|
override lateinit var ir: KonanIr
|
||||||
|
|
||||||
override val irBuiltIns
|
override val irBuiltIns
|
||||||
get() = ir.irModule.irBuiltins
|
get() = irModule!!.irBuiltins
|
||||||
|
|
||||||
override val typeSystem: IrTypeSystemContext
|
override val typeSystem: IrTypeSystemContext
|
||||||
get() = IrTypeSystemContextImpl(irBuiltIns)
|
get() = IrTypeSystemContextImpl(irBuiltIns)
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ import org.jetbrains.kotlin.util.OperatorNameConventions
|
|||||||
internal val createLLVMDeclarationsPhase = makeKonanModuleOpPhase(
|
internal val createLLVMDeclarationsPhase = makeKonanModuleOpPhase(
|
||||||
name = "CreateLLVMDeclarations",
|
name = "CreateLLVMDeclarations",
|
||||||
description = "Map IR declarations to LLVM",
|
description = "Map IR declarations to LLVM",
|
||||||
op = { context, _ -> context.generationState.llvmDeclarations = createLlvmDeclarations(context.generationState, context.ir.irModule) }
|
op = { context, _ -> context.generationState.llvmDeclarations = createLlvmDeclarations(context.generationState, context.irModule!!) }
|
||||||
)
|
)
|
||||||
|
|
||||||
internal val RTTIPhase = makeKonanModuleOpPhase(
|
internal val RTTIPhase = makeKonanModuleOpPhase(
|
||||||
|
|||||||
Reference in New Issue
Block a user