commit | 202da14fe00fbafa8540baba433147a8eb526814 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Jul 10 20:39:07 2007 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Jul 10 20:39:07 2007 +0000 |
tree | 7b178059d27bc658700cd1400c0094066d6dc44c | |
parent | 776ee1fb338b65defc5cb0c85b20a4fc5122a633 [diff] [blame] |
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
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 @@ } else { continue; } - } + } else + continue; if (AA.getModRefInfo(C, pointer, pointerSize) != AliasAnalysis::NoModRef) { depGraphLocal.insert(std::make_pair(C.getInstruction(), std::make_pair(QI, true)));