forked from OSchip/llvm-project
parent
4f833c7610
commit
7cad745d49
|
@ -94,7 +94,8 @@ Instruction* MemoryDependenceAnalysis::getCallSiteDependency(CallSite C,
|
||||||
|
|
||||||
// FreeInsts erase the entire structure
|
// FreeInsts erase the entire structure
|
||||||
pointerSize = ~0UL;
|
pointerSize = ~0UL;
|
||||||
} else if (CallSite::get(QI).getInstruction() != 0) {
|
} else if (CallSite::get(QI).getInstruction() != 0 &&
|
||||||
|
cast<CallInst>(QI)->getCalledFunction()) {
|
||||||
AliasAnalysis::ModRefBehavior result =
|
AliasAnalysis::ModRefBehavior result =
|
||||||
AA.getModRefBehavior(cast<CallInst>(QI)->getCalledFunction(),
|
AA.getModRefBehavior(cast<CallInst>(QI)->getCalledFunction(),
|
||||||
CallSite::get(QI));
|
CallSite::get(QI));
|
||||||
|
|
Loading…
Reference in New Issue