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
This commit is contained in:
Owen Anderson 2007-07-10 20:39:07 +00:00
parent 776ee1fb33
commit 202da14fe0

View File

@ -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)));