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 | faf9e424792d83e034188536c4d3163e684c00e3 (patch) | |
| tree | 2693e97072a5b7697f1aed6d15f07738d0933a05 /llvm/lib | |
| parent | 1279eaf776ef900e67cbc25456e1a7f6ec0a4b1c (diff) | |
| download | bcm5719-llvm-faf9e424792d83e034188536c4d3163e684c00e3.tar.gz bcm5719-llvm-faf9e424792d83e034188536c4d3163e684c00e3.zip | |
Fix a crasher when finding the dependency of a call.
llvm-svn: 38510
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index af105ccb06b..4168cd6fb18 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/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))); |

