diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-29 23:30:39 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-29 23:30:39 +0000 |
commit | 4f8c18c7c757875cfa45383e7cf33d65d2c4d564 (patch) | |
tree | b3fdaa7ff61c94ae583d5a92f25302521dd96079 /include/llvm/Analysis/MemoryDependenceAnalysis.h | |
parent | 4fd40e884c76ffbf1157ab4ca48a099c55eebb4f (diff) |
Eliminate the dropInstruction method, which is not needed any more.
Fix a subtle iterator invalidation bug I introduced in the last commit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/MemoryDependenceAnalysis.h')
-rw-r--r-- | include/llvm/Analysis/MemoryDependenceAnalysis.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/Analysis/MemoryDependenceAnalysis.h b/include/llvm/Analysis/MemoryDependenceAnalysis.h index 5bd6a82d01..b3c12c1d85 100644 --- a/include/llvm/Analysis/MemoryDependenceAnalysis.h +++ b/include/llvm/Analysis/MemoryDependenceAnalysis.h @@ -178,11 +178,6 @@ namespace llvm { /// updating the dependence of instructions that previously depended on it. void removeInstruction(Instruction *InstToRemove); - /// dropInstruction - Remove an instruction from the analysis, making - /// absolutely conservative assumptions when updating the cache. This is - /// useful, for example when an instruction is changed rather than removed. - void dropInstruction(Instruction *InstToDrop); - private: DepResultTy ConvFromResult(MemDepResult R) { if (Instruction *I = R.getInst()) |