IR: use IrFactory in SymbolTable
(cherry picked from commit aad2899c2bc5371c5a0abb8d24742f1417161f83)
This commit is contained in:
committed by
Vasily Levchenko
parent
bf74bd76a7
commit
b67b26bdb9
+2
-1
@@ -31,6 +31,7 @@ import org.jetbrains.kotlin.descriptors.konan.isNativeStdlib
|
||||
import org.jetbrains.kotlin.ir.declarations.IrDeclaration
|
||||
import org.jetbrains.kotlin.ir.declarations.IrFile
|
||||
import org.jetbrains.kotlin.ir.declarations.IrModuleFragment
|
||||
import org.jetbrains.kotlin.ir.declarations.impl.IrFactoryImpl
|
||||
import org.jetbrains.kotlin.ir.symbols.IrSymbol
|
||||
import org.jetbrains.kotlin.ir.util.*
|
||||
import org.jetbrains.kotlin.ir.visitors.acceptVoid
|
||||
@@ -112,7 +113,7 @@ private var Context.symbolTable: SymbolTable? by Context.nullValue()
|
||||
|
||||
internal val createSymbolTablePhase = konanUnitPhase(
|
||||
op = {
|
||||
this.symbolTable = SymbolTable(KonanIdSignaturer(KonanManglerDesc))
|
||||
this.symbolTable = SymbolTable(KonanIdSignaturer(KonanManglerDesc), IrFactoryImpl)
|
||||
},
|
||||
name = "CreateSymbolTable",
|
||||
description = "Create SymbolTable"
|
||||
|
||||
Reference in New Issue
Block a user