Minor typo fix
This commit is contained in:
+2
-2
@@ -453,7 +453,7 @@ abstract class KotlinIrLinker(
|
|||||||
strategy: DeserializationStrategy,
|
strategy: DeserializationStrategy,
|
||||||
): IrModuleDeserializer
|
): IrModuleDeserializer
|
||||||
|
|
||||||
protected abstract val functionalInteraceFactory: IrAbstractFunctionFactory
|
protected abstract val functionalInterfaceFactory: IrAbstractFunctionFactory
|
||||||
|
|
||||||
protected abstract fun isBuiltInModule(moduleDescriptor: ModuleDescriptor): Boolean
|
protected abstract fun isBuiltInModule(moduleDescriptor: ModuleDescriptor): Boolean
|
||||||
|
|
||||||
@@ -647,7 +647,7 @@ abstract class KotlinIrLinker(
|
|||||||
moduleDescriptor: ModuleDescriptor,
|
moduleDescriptor: ModuleDescriptor,
|
||||||
moduleDeserializer: IrModuleDeserializer
|
moduleDeserializer: IrModuleDeserializer
|
||||||
): IrModuleDeserializer =
|
): IrModuleDeserializer =
|
||||||
if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInteraceFactory, moduleDeserializer)
|
if (isBuiltInModule(moduleDescriptor)) IrModuleDeserializerWithBuiltIns(builtIns, functionalInterfaceFactory, moduleDeserializer)
|
||||||
else moduleDeserializer
|
else moduleDeserializer
|
||||||
|
|
||||||
fun deserializeIrModuleHeader(moduleDescriptor: ModuleDescriptor, kotlinLibrary: KotlinLibrary?): IrModuleFragment {
|
fun deserializeIrModuleHeader(moduleDescriptor: ModuleDescriptor, kotlinLibrary: KotlinLibrary?): IrModuleFragment {
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.library.SerializedIrFile
|
|||||||
|
|
||||||
class JsIrLinker(
|
class JsIrLinker(
|
||||||
private val currentModule: ModuleDescriptor?, logger: LoggingContext, builtIns: IrBuiltIns, symbolTable: SymbolTable,
|
private val currentModule: ModuleDescriptor?, logger: LoggingContext, builtIns: IrBuiltIns, symbolTable: SymbolTable,
|
||||||
override val functionalInteraceFactory: IrAbstractFunctionFactory,
|
override val functionalInterfaceFactory: IrAbstractFunctionFactory,
|
||||||
private val icData: List<SerializedIrFile>? = null
|
private val icData: List<SerializedIrFile>? = null
|
||||||
) :
|
) :
|
||||||
KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
|
KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
|
||||||
|
|||||||
+1
-1
@@ -35,7 +35,7 @@ class JvmIrLinker(
|
|||||||
logger: LoggingContext,
|
logger: LoggingContext,
|
||||||
builtIns: IrBuiltIns,
|
builtIns: IrBuiltIns,
|
||||||
symbolTable: SymbolTable,
|
symbolTable: SymbolTable,
|
||||||
override val functionalInteraceFactory: IrAbstractFunctionFactory,
|
override val functionalInterfaceFactory: IrAbstractFunctionFactory,
|
||||||
private val stubGenerator: DeclarationStubGenerator,
|
private val stubGenerator: DeclarationStubGenerator,
|
||||||
private val manglerDesc: JvmManglerDesc
|
private val manglerDesc: JvmManglerDesc
|
||||||
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
|
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, emptyList()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user