diff options
| author | Owen Anderson <resistor@mac.com> | 2010-07-20 06:52:42 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-07-20 06:52:42 +0000 |
| commit | 0e493f5f82ca7b430758ded7a505aa0f2af4674b (patch) | |
| tree | 7889e2469b15eb4e9c1202063139b1ef0f8591b1 /lib/Analysis/BasicAliasAnalysis.cpp | |
| parent | c045005458f070655bc119d0a1f26bac7efc8b04 (diff) | |
| download | external_llvm-0e493f5f82ca7b430758ded7a505aa0f2af4674b.zip external_llvm-0e493f5f82ca7b430758ded7a505aa0f2af4674b.tar.gz external_llvm-0e493f5f82ca7b430758ded7a505aa0f2af4674b.tar.bz2 | |
Reapply r108794, a fix for the failing test from last time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108813 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/BasicAliasAnalysis.cpp')
| -rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 4f53a6d..91a17e5 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -172,7 +172,7 @@ namespace { /// an analysis interface through multiple inheritance. If needed, it should /// override this to adjust the this pointer as needed for the specified pass /// info. - virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) { + virtual void *getAdjustedAnalysisPointer(const StaticPassInfo *PI) { if (PI->isPassID(&AliasAnalysis::ID)) return (AliasAnalysis*)this; return this; @@ -243,7 +243,7 @@ namespace { /// an analysis interface through multiple inheritance. If needed, it should /// override this to adjust the this pointer as needed for the specified pass /// info. - virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) { + virtual void *getAdjustedAnalysisPointer(const StaticPassInfo *PI) { if (PI->isPassID(&AliasAnalysis::ID)) return (AliasAnalysis*)this; return this; |
