mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Simplify.
llvm-svn: 41167
This commit is contained in:
parent
d5f075ed16
commit
068c7d20e2
@ -379,8 +379,7 @@ public:
|
||||
void removeBlock(BasicBlock *BB) {
|
||||
assert(find(BB) != end() && "Block is not in DominanceFrontier!");
|
||||
for (iterator I = begin(), E = end(); I != E; ++I)
|
||||
if (I->second.count(BB))
|
||||
I->second.erase(BB);
|
||||
I->second.erase(BB);
|
||||
Frontiers.erase(BB);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user