[K/N] Don't run ManglerChecker in K2 since its checks are disabled

KT-60648 is closed as "Declined", thus this code is not needed anymore.
This commit is contained in:
Sergej Jaskiewicz
2023-12-19 16:32:48 +01:00
committed by Space Team
parent c2d031254c
commit 766876b8a2
2 changed files with 0 additions and 51 deletions
@@ -118,16 +118,6 @@ internal fun PhaseContext.fir2Ir(
visibilityConverter = Fir2IrVisibilityConverter.Default,
kotlinBuiltIns = builtInsModule ?: DefaultBuiltIns.Instance,
actualizerTypeContextProvider = ::IrTypeSystemContextImpl,
fir2IrResultPostCompute = { _, irOutput ->
// it's important to compare manglers before actualization, since IR will be actualized, while FIR won't
irOutput.irModuleFragment.acceptVoid(
ManglerChecker(
KonanManglerIr,
Ir2FirManglerAdapter(FirNativeKotlinMangler),
needsChecking = { false }, // FIXME(KT-60648): Re-enable
)
)
}
).also {
(it.irModuleFragment.descriptor as? FirModuleDescriptor)?.let { it.allDependencyModules = librariesDescriptors }
}