diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index a68913574a9..8fc561ea1d9 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -49,6 +49,10 @@ namespace { ModRefResult getModRefInfo(CallSite CS, Value *P, unsigned Size); + /// hasNoModRefInfoForCalls - We have no way to test one call against + /// another, unless they are pure or const. + virtual bool hasNoModRefInfoForCalls() const { return true; } + /// pointsToConstantMemory - Chase pointers until we find a (constant /// global) or not. bool pointsToConstantMemory(const Value *P);