[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 =
|
val irProviderForCEnumsAndCStructs =
|
||||||
IrProviderForCEnumAndCStructStubs(generatorContext, interopBuiltIns, symbols)
|
IrProviderForCEnumAndCStructStubs(generatorContext, interopBuiltIns, symbols)
|
||||||
|
|
||||||
val deserializeFakeOverrides = config.configuration.getBoolean(CommonConfigurationKeys.DESERIALIZE_FAKE_OVERRIDES)
|
|
||||||
|
|
||||||
val translationContext = object : TranslationPluginContext {
|
val translationContext = object : TranslationPluginContext {
|
||||||
override val moduleDescriptor: ModuleDescriptor
|
override val moduleDescriptor: ModuleDescriptor
|
||||||
get() = generatorContext.moduleDescriptor
|
get() = generatorContext.moduleDescriptor
|
||||||
@@ -98,7 +96,6 @@ internal fun Context.psiToIr(
|
|||||||
stubGenerator,
|
stubGenerator,
|
||||||
irProviderForCEnumsAndCStructs,
|
irProviderForCEnumsAndCStructs,
|
||||||
exportedDependencies,
|
exportedDependencies,
|
||||||
deserializeFakeOverrides,
|
|
||||||
config.cachedLibraries
|
config.cachedLibraries
|
||||||
).also { linker ->
|
).also { linker ->
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -78,9 +78,8 @@ internal class KonanIrLinker(
|
|||||||
private val stubGenerator: DeclarationStubGenerator,
|
private val stubGenerator: DeclarationStubGenerator,
|
||||||
private val cenumsProvider: IrProviderForCEnumAndCStructStubs,
|
private val cenumsProvider: IrProviderForCEnumAndCStructStubs,
|
||||||
exportedDependencies: List<ModuleDescriptor>,
|
exportedDependencies: List<ModuleDescriptor>,
|
||||||
deserializeFakeOverrides: Boolean,
|
|
||||||
private val cachedLibraries: CachedLibraries
|
private val cachedLibraries: CachedLibraries
|
||||||
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, exportedDependencies, deserializeFakeOverrides) {
|
) : KotlinIrLinker(currentModule, logger, builtIns, symbolTable, exportedDependencies) {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private val C_NAMES_NAME = Name.identifier("cnames")
|
private val C_NAMES_NAME = Name.identifier("cnames")
|
||||||
|
|||||||
Reference in New Issue
Block a user