mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 15:10:33 +00:00
Add comments for OrderedInstruction. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306201 cdac9f57-aa62-4fd3-8940-286f4534e8a0
This commit is contained in:
parent
3a48f331ba
commit
718bab77be
@ -43,6 +43,9 @@ public:
|
||||
bool dominates(const Instruction *, const Instruction *) const;
|
||||
|
||||
/// Invalidate the OrderedBasicBlock cache when its basic block changes.
|
||||
/// 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); }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user