forked from OSchip/llvm-project
[OrderedInst] Add const to constant parameter. NFCI
llvm-svn: 306717
This commit is contained in:
parent
ff8453db56
commit
66f6d69c85
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue