[OrderedInst] Add const to constant parameter. NFCI

llvm-svn: 306717
This commit is contained in:
Xin Tong 2017-06-29 18:04:31 +00:00
parent ff8453db56
commit 66f6d69c85
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ public:
/// i.e. If an instruction is deleted or added to the basic block, the user
/// should call this function to invalidate the OrderedBasicBlock cache for
/// this basic block.
void invalidateBlock(BasicBlock *BB) { OBBMap.erase(BB); }
void invalidateBlock(const BasicBlock *BB) { OBBMap.erase(BB); }
};
} // end namespace llvm