================
@@ -240,10 +238,11 @@ void BackendConsumer::HandleTranslationUnit(ASTContext 
&C) {
 
     Gen->HandleTranslationUnit(C);
 
-    if (TimerIsEnabled && !--LLVMIRGenerationRefCount)
-      LLVMIRGeneration.yieldTo(CI.getFrontendTimer());
-
-    IRGenFinished = true;
----------------
vgvassilev wrote:

Good point.

https://github.com/llvm/llvm-project/pull/157359
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to