diff options
author | Chris Lattner <sabre@nondot.org> | 2004-05-23 21:13:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-05-23 21:13:51 +0000 |
commit | 1bf3408f96a9e7901247f1731ab79f4dae1ce778 (patch) | |
tree | 73cb7eb9fc0d76d9ce05f2cb8bab6ef1bbba96bc /lib | |
parent | 0f312d6998aac8620e6596fd41e472bb76aee6a1 (diff) | |
download | external_llvm-1bf3408f96a9e7901247f1731ab79f4dae1ce778.zip external_llvm-1bf3408f96a9e7901247f1731ab79f4dae1ce778.tar.gz external_llvm-1bf3408f96a9e7901247f1731ab79f4dae1ce778.tar.bz2 |
Update to match the autochaining interface that the AA interface uses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DataStructure/Steensgaard.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Analysis/DataStructure/Steensgaard.cpp b/lib/Analysis/DataStructure/Steensgaard.cpp index cc50571..12972ee 100644 --- a/lib/Analysis/DataStructure/Steensgaard.cpp +++ b/lib/Analysis/DataStructure/Steensgaard.cpp @@ -47,7 +47,6 @@ namespace { AliasAnalysis::getAnalysisUsage(AU); AU.setPreservesAll(); // Does not transform code... AU.addRequired<LocalDataStructures>(); // Uses local dsgraph - AU.addRequired<AliasAnalysis>(); // Chains to another AA impl... } // print - Implement the Pass::print method... @@ -63,10 +62,6 @@ namespace { // alias - This is the only method here that does anything interesting... AliasResult alias(const Value *V1, unsigned V1Size, const Value *V2, unsigned V2Size); - - bool pointsToConstantMemory(const Value *P) { - return getAnalysis<AliasAnalysis>().pointsToConstantMemory(P); - } private: void ResolveFunctionCall(Function *F, const DSCallSite &Call, @@ -238,5 +233,5 @@ AliasAnalysis::AliasResult Steens::alias(const Value *V1, unsigned V1Size, // If we cannot determine alias properties based on our graph, fall back on // some other AA implementation. // - return getAnalysis<AliasAnalysis>().alias(V1, V1Size, V2, V2Size); + return AliasAnalysis::alias(V1, V1Size, V2, V2Size); } |