llvm.org GIT mirror llvm / 756094d
[OrderedInst] Add const to constant parameter. NFCI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306717 91177308-0d34-0410-b5e6-96231b3b80d8 Xin Tong 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
4545 /// i.e. If an instruction is deleted or added to the basic block, the user
4646 /// should call this function to invalidate the OrderedBasicBlock cache for
4747 /// this basic block.
48 void invalidateBlock(BasicBlock *BB) { OBBMap.erase(BB); }
48 void invalidateBlock(const BasicBlock *BB) { OBBMap.erase(BB); }
4949 };
5050
5151 } // end namespace llvm