JS IR: fix incremental compilation for stdlib
This commit is contained in:
+2
-2
@@ -114,7 +114,7 @@ class CurrentModuleWithICDeserializer(
|
||||
return this !is DeserializedDescriptor
|
||||
}
|
||||
|
||||
override fun init() {
|
||||
override fun init(delegate: IrModuleDeserializer) {
|
||||
val knownBuiltIns = irBuiltIns.knownBuiltins.map { (it as IrSymbolOwner).symbol }.toSet()
|
||||
symbolTable.forEachPublicSymbol {
|
||||
if (it.descriptor.isDirtyDescriptor()) { // public && non-deserialized should be dirty symbol
|
||||
@@ -124,7 +124,7 @@ class CurrentModuleWithICDeserializer(
|
||||
}
|
||||
}
|
||||
|
||||
icDeserializer.init(this)
|
||||
icDeserializer.init(delegate)
|
||||
}
|
||||
|
||||
override val klib: IrLibrary
|
||||
|
||||
+1
-1
@@ -207,7 +207,7 @@ open class CurrentModuleDeserializer(
|
||||
override fun contains(idSig: IdSignature): Boolean = false // TODO:
|
||||
|
||||
override fun deserializeIrSymbol(idSig: IdSignature, symbolKind: BinarySymbolData.SymbolKind): IrSymbol {
|
||||
error("Unreachable execution: there could not be back-links")
|
||||
error("Unreachable execution: there could not be back-links (sig: $idSig)")
|
||||
}
|
||||
|
||||
override fun declareIrSymbol(symbol: IrSymbol) {}
|
||||
|
||||
Reference in New Issue
Block a user