1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[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 36ad5023db
commit 0384622edb

View File

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