summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-20 08:26:15 +0000
committerOwen Anderson <resistor@mac.com>2010-07-20 08:26:15 +0000
commit81781220d23007e831deb4dfd235be8c1cccdc52 (patch)
tree599ceb36e21f0bb32d1bbb5147d8bff4a8633ced /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parentea7863647b1ad197ddaadab07288e5971485623e (diff)
downloadbcm5719-llvm-81781220d23007e831deb4dfd235be8c1cccdc52.tar.gz
bcm5719-llvm-81781220d23007e831deb4dfd235be8c1cccdc52.zip
Speculatively revert r108813, in an attempt to get the self-host buildbots working again. I don't see why this patch
would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/BasicAliasAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/BasicAliasAnalysis.cpp b/llvm/lib/Analysis/BasicAliasAnalysis.cpp
index 91a17e5106a..4f53a6d6255 100644
--- a/llvm/lib/Analysis/BasicAliasAnalysis.cpp
+++ b/llvm/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 StaticPassInfo *PI) {
+ virtual void *getAdjustedAnalysisPointer(const PassInfo *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 StaticPassInfo *PI) {
+ virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) {
if (PI->isPassID(&AliasAnalysis::ID))
return (AliasAnalysis*)this;
return this;
OpenPOWER on IntegriCloud