[command line] adopt 5de7a10df0

Eliminated -Xdeserialize-fake-overrides
This commit is contained in:
Vasily Levchenko
2020-11-16 06:50:52 +01:00
committed by Stanislav Erokhin
parent bf4e53ae06
commit 6f9078b796
2 changed files with 1 additions and 5 deletions
@@ -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 ->
@@ -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")