Revert "[K/N] skip lowerings for header caches"

This reverts commit cf2135aaa4.
This commit is contained in:
Dmitriy Dolovov
2024-03-15 17:31:27 +01:00
parent 762927410a
commit 23ee7cedfa
@@ -74,7 +74,6 @@ internal fun <C : PhaseContext> PhaseEngine<C>.runBackend(backendContext: Contex
newEngine(generationState) { generationStateEngine ->
if (context.config.produce.isCache) {
generationStateEngine.runPhase(BuildAdditionalCacheInfoPhase, module)
if (context.config.produce.isHeaderCache) return@newEngine
}
if (context.config.produce == CompilerOutputKind.PROGRAM) {
generationStateEngine.runPhase(EntryPointPhase, module)