We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01a2efa commit f56817cCopy full SHA for f56817c
lib/CodeGen/MachineCSE.cpp
@@ -429,8 +429,8 @@ void MachineCSE::ExitScope(MachineBasicBlock *MBB) {
429
DEBUG(dbgs() << "Exiting: " << MBB->getName() << '\n');
430
DenseMap<MachineBasicBlock*, ScopeType*>::iterator SI = ScopeMap.find(MBB);
431
assert(SI != ScopeMap.end());
432
- ScopeMap.erase(SI);
433
delete SI->second;
+ ScopeMap.erase(SI);
434
}
435
436
bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
0 commit comments