[K/N] skip lowerings for header caches
^KT-65443
This commit is contained in:
+1
@@ -74,6 +74,7 @@ internal fun <C : PhaseContext> PhaseEngine<C>.runBackend(backendContext: Contex
|
|||||||
newEngine(generationState) { generationStateEngine ->
|
newEngine(generationState) { generationStateEngine ->
|
||||||
if (context.config.produce.isCache) {
|
if (context.config.produce.isCache) {
|
||||||
generationStateEngine.runPhase(BuildAdditionalCacheInfoPhase, module)
|
generationStateEngine.runPhase(BuildAdditionalCacheInfoPhase, module)
|
||||||
|
if (context.config.produce.isHeaderCache) return@newEngine
|
||||||
}
|
}
|
||||||
if (context.config.produce == CompilerOutputKind.PROGRAM) {
|
if (context.config.produce == CompilerOutputKind.PROGRAM) {
|
||||||
generationStateEngine.runPhase(EntryPointPhase, module)
|
generationStateEngine.runPhase(EntryPointPhase, module)
|
||||||
|
|||||||
Reference in New Issue
Block a user