IR: do not copy calls/references in ExpectSymbolTransformer
This is just a refactoring/optimization that makes use of the fact that IrCall.symbol and other similar fields are now mutable.
This commit is contained in:
committed by
Space Team
parent
978553c513
commit
bb4d25dfc9
@@ -115,9 +115,8 @@ fun generateIrForKlibSerialization(
|
||||
}
|
||||
|
||||
if (configuration.get(CommonConfigurationKeys.EXPECT_ACTUAL_LINKER) != true) {
|
||||
moduleFragment.transform(ExpectDeclarationRemover(psi2IrContext.symbolTable, false), null)
|
||||
moduleFragment.accept(ExpectDeclarationRemover(psi2IrContext.symbolTable, false), null)
|
||||
}
|
||||
|
||||
return moduleFragment to pluginContext
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user