diff options
author | Owen Anderson <resistor@mac.com> | 2007-07-10 20:39:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-07-10 20:39:07 +0000 |
commit | 202da14fe00fbafa8540baba433147a8eb526814 (patch) | |
tree | 7b178059d27bc658700cd1400c0094066d6dc44c /lib/Analysis/MemoryDependenceAnalysis.cpp | |
parent | 776ee1fb338b65defc5cb0c85b20a4fc5122a633 (diff) | |
download | external_llvm-202da14fe00fbafa8540baba433147a8eb526814.zip external_llvm-202da14fe00fbafa8540baba433147a8eb526814.tar.gz external_llvm-202da14fe00fbafa8540baba433147a8eb526814.tar.bz2 |
Fix a crasher when finding the dependency of a call.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38510 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r-- | lib/Analysis/MemoryDependenceAnalysis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index af105cc..4168cd6 100644 --- a/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -83,7 +83,8 @@ Instruction* MemoryDependenceAnalysis::getCallSiteDependency(CallSite C, bool lo } else { continue; } - } + } else + continue; if (AA.getModRefInfo(C, pointer, pointerSize) != AliasAnalysis::NoModRef) { depGraphLocal.insert(std::make_pair(C.getInstruction(), std::make_pair(QI, true))); |