[command line] adopt 5de7a10df0
Eliminated -Xdeserialize-fake-overrides
This commit is contained in:
committed by
Stanislav Erokhin
parent
bf4e53ae06
commit
6f9078b796
-3
@@ -72,8 +72,6 @@ internal fun Context.psiToIr(
|
||||
val irProviderForCEnumsAndCStructs =
|
||||
IrProviderForCEnumAndCStructStubs(generatorContext, interopBuiltIns, symbols)
|
||||
|
||||
val deserializeFakeOverrides = config.configuration.getBoolean(CommonConfigurationKeys.DESERIALIZE_FAKE_OVERRIDES)
|
||||
|
||||
val translationContext = object : TranslationPluginContext {
|
||||
override val moduleDescriptor: ModuleDescriptor
|
||||
get() = generatorContext.moduleDescriptor
|
||||
@@ -98,7 +96,6 @@ internal fun Context.psiToIr(
|
||||
stubGenerator,
|
||||
irProviderForCEnumsAndCStructs,
|
||||
exportedDependencies,
|
||||
deserializeFakeOverrides,
|
||||
config.cachedLibraries
|
||||
).also { linker ->
|
||||
|
||||
|
||||
+1
-2
@@ -78,9 +78,8 @@ internal class KonanIrLinker(
|
||||
private val stubGenerator: DeclarationStubGenerator,
|
||||
private val cenumsProvider: IrProviderForCEnumAndCStructStubs,
|
||||
exportedDependencies: List<ModuleDescriptor>,
|
||||
deserializeFakeOverrides: Boolean,
|
||||
private val cachedLibraries: CachedLibraries
|
||||
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, exportedDependencies, deserializeFakeOverrides) {
|
||||
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, exportedDependencies) {
|
||||
|
||||
companion object {
|
||||
private val C_NAMES_NAME = Name.identifier("cnames")
|
||||
|
||||
Reference in New Issue
Block a user