Try to fix MSVC warning.

llvm-svn: 212889
This commit is contained in:
Matt Arsenault 2014-07-12 23:16:26 +00:00
parent 3c0514f34f
commit 1871d8a080
1 changed files with 8 additions and 0 deletions

View File

@ -47,6 +47,14 @@ void DominanceFrontierBase<BlockT>::removeBlock(BlockT *BB) {
Frontiers.erase(BB);
}
template <class BlockT>
void DominanceFrontierBase<BlockT>::addToFrontier(iterator I,
BlockT *Node) {
assert(I != end() && "BB is not in DominanceFrontier!");
assert(I->second.count(Node) && "Node is not in DominanceFrontier of BB");
I->second.erase(Node);
}
template <class BlockT>
void DominanceFrontierBase<BlockT>::removeFromFrontier(iterator I,
BlockT *Node) {