forked from OSchip/llvm-project
Add comments for OrderedInstruction. NFC
llvm-svn: 306201
This commit is contained in:
parent
daaee7151b
commit
25d51d66df
|
@ -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