[KLIB] Drop API which is no longer used
This commit is contained in:
-4
@@ -103,10 +103,6 @@ class CurrentModuleWithICDeserializer(
|
|||||||
icDeserializer.deserializeReachableDeclarations()
|
icDeserializer.deserializeReachableDeclarations()
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun postProcess(postProcessor: (IrModuleFragment) -> Unit) {
|
|
||||||
icDeserializer.postProcess(postProcessor)
|
|
||||||
}
|
|
||||||
|
|
||||||
private fun DeclarationDescriptor.isDirtyDescriptor(): Boolean {
|
private fun DeclarationDescriptor.isDirtyDescriptor(): Boolean {
|
||||||
if (this is PropertyAccessorDescriptor) return correspondingProperty.isDirtyDescriptor()
|
if (this is PropertyAccessorDescriptor) return correspondingProperty.isDirtyDescriptor()
|
||||||
// Since descriptors for FO methods of `kotlin.Any` (toString, equals, hashCode) are Deserialized even in
|
// Since descriptors for FO methods of `kotlin.Any` (toString, equals, hashCode) are Deserialized even in
|
||||||
|
|||||||
-10
@@ -51,10 +51,6 @@ abstract class IrModuleDeserializer(val moduleDescriptor: ModuleDescriptor) {
|
|||||||
|
|
||||||
open fun deserializeReachableDeclarations() { error("Unsupported Operation") }
|
open fun deserializeReachableDeclarations() { error("Unsupported Operation") }
|
||||||
|
|
||||||
open fun postProcess(postProcessor: (IrModuleFragment) -> Unit) {
|
|
||||||
postProcessor(moduleFragment)
|
|
||||||
}
|
|
||||||
|
|
||||||
abstract val moduleFragment: IrModuleFragment
|
abstract val moduleFragment: IrModuleFragment
|
||||||
|
|
||||||
abstract val moduleDependencies: Collection<IrModuleDeserializer>
|
abstract val moduleDependencies: Collection<IrModuleDeserializer>
|
||||||
@@ -174,10 +170,6 @@ class IrModuleDeserializerWithBuiltIns(
|
|||||||
else delegate.declareIrSymbol(symbol)
|
else delegate.declareIrSymbol(symbol)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun postProcess(postProcessor: (IrModuleFragment) -> Unit) {
|
|
||||||
delegate.postProcess(postProcessor)
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun init() {
|
override fun init() {
|
||||||
delegate.init(this)
|
delegate.init(this)
|
||||||
}
|
}
|
||||||
@@ -209,7 +201,5 @@ open class CurrentModuleDeserializer(
|
|||||||
|
|
||||||
override fun declareIrSymbol(symbol: IrSymbol) {}
|
override fun declareIrSymbol(symbol: IrSymbol) {}
|
||||||
|
|
||||||
override fun postProcess(postProcessor: (IrModuleFragment) -> Unit) {}
|
|
||||||
|
|
||||||
override val isCurrent = true
|
override val isCurrent = true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user