File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -615,8 +615,8 @@ struct CallCoroDelete final : public EHScopeStack::Cleanup {
615615 // builds a single call to a deallocation function which is safe to emit
616616 // multiple times.
617617 void Emit (CodeGenFunction &CGF, Flags) override {
618- bool Splited = CGF.CurCoro .Data ->InRamp ! = nullptr ;
619- if (!Splited )
618+ bool FirstEmit = CGF.CurCoro .Data ->InRamp = = nullptr ;
619+ if (FirstEmit )
620620 splitCleanupBB (CGF);
621621 EmitCoroFree (CGF);
622622 }
@@ -646,8 +646,7 @@ struct CallCoroDelete final : public EHScopeStack::Cleanup {
646646 if (S->getReturnStmt ()) {
647647 // Clone cleanup block before EmitCoroFree()
648648 llvm::ValueToValueMapTy VMap{};
649- CoroData.RampCleanupBB =
650- llvm::CloneBasicBlock (CleanupBB, VMap, " .ramp" );
649+ CoroData.RampCleanupBB = llvm::CloneBasicBlock (CleanupBB, VMap, " .ramp" );
651650 }
652651 }
653652
You can’t perform that action at this time.
0 commit comments