[IR] Use ReferenceSymbolTable in BuiltinSymbolsBase

This commit is contained in:
Roman Artemev
2020-04-20 14:34:50 +03:00
committed by romanart
parent 3c50b47333
commit 3d24665c0d
@@ -48,7 +48,7 @@ abstract class Ir<out T : CommonBackendContext>(val context: T, val irModule: Ir
/** /**
* Symbols for builtins that are available without any context and are not specific to any backend * Symbols for builtins that are available without any context and are not specific to any backend
*/ */
open class BuiltinSymbolsBase(protected val irBuiltIns: IrBuiltIns, private val builtIns: KotlinBuiltIns, private val symbolTable: SymbolTable) { open class BuiltinSymbolsBase(protected val irBuiltIns: IrBuiltIns, private val builtIns: KotlinBuiltIns, private val symbolTable: ReferenceSymbolTable) {
protected fun builtInsPackage(vararg packageNameSegments: String) = protected fun builtInsPackage(vararg packageNameSegments: String) =
builtIns.builtInsModule.getPackage(FqName.fromSegments(listOf(*packageNameSegments))).memberScope builtIns.builtInsModule.getPackage(FqName.fromSegments(listOf(*packageNameSegments))).memberScope