mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Refactor my previous change to maintain the distinction between AliasAnalysis and BasicAliasAnalysis. This involves some wider changes because it
folds away some never-used methods. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63900 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -102,15 +102,6 @@ namespace {
|
||||
return AliasAnalysis::pointsToConstantMemory(P);
|
||||
}
|
||||
|
||||
/// getModRefBehavior - Return the behavior of the specified function if
|
||||
/// called from the specified call site. The call site may be null in which
|
||||
/// case the most generic behavior of this function should be returned.
|
||||
virtual ModRefBehavior getModRefBehavior(Function *F, CallSite CS,
|
||||
std::vector<PointerAccessInfo> *Info) {
|
||||
assert(Vals.find(F) != Vals.end() && "Never seen value in AA before");
|
||||
return AliasAnalysis::getModRefBehavior(F, CS, Info);
|
||||
}
|
||||
|
||||
virtual void deleteValue(Value *V) {
|
||||
assert(Vals.find(V) != Vals.end() && "Never seen value in AA before");
|
||||
AliasAnalysis::deleteValue(V);
|
||||
|
Reference in New Issue
Block a user