[JS IR] Add additional exported declarations inside dce loop
[JS IR] Remove useless filter in dce for more log information ^KT-44469 fixed
This commit is contained in:
@@ -407,13 +407,16 @@ fun usefulDeclarations(roots: Iterable<IrDeclaration>, context: JsIrBackendConte
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
context.additionalExportedDeclarations
|
||||
.forEach { it.enqueue(null, "from additionalExportedDeclarations", altFromFqn = "<ROOT>") }
|
||||
}
|
||||
|
||||
if (printReachabilityInfo) {
|
||||
reachabilityInfo.forEach(::println)
|
||||
}
|
||||
|
||||
return result + context.additionalExportedDeclarations
|
||||
return result
|
||||
}
|
||||
|
||||
private fun Collection<IrClass>.filterDescendantsOf(bases: Collection<IrClass>): Collection<IrClass> {
|
||||
|
||||
Reference in New Issue
Block a user