mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[NFC] DCE: TermInsts increment NumDeletedInsts.
This commit is contained in:
@@ -763,6 +763,7 @@ bool DCE::removeDead() {
|
||||
<< "with jump to: BB" << postDom->getDebugID() << "\n");
|
||||
|
||||
replaceBranchWithJump(termInst, postDom);
|
||||
++NumDeletedInsts;
|
||||
termInst->eraseFromParent();
|
||||
BranchesChanged = true;
|
||||
Changed = true;
|
||||
|
||||
Reference in New Issue
Block a user