X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FAnalysis%2FProfileInfo.cpp;h=d08ecf72b3b51483f3aab1209d042c2a1674e57d;hp=8d2712fd6e063e7ccfdd893699536e03d1eb557e;hb=9e081004dad1c3cae7de82ad412c3f19a1a48d48;hpb=72852a8cfb605056d87b644d2e36b1346051413d diff --git a/lib/Analysis/ProfileInfo.cpp b/lib/Analysis/ProfileInfo.cpp index 8d2712fd6e0..d08ecf72b3b 100644 --- a/lib/Analysis/ProfileInfo.cpp +++ b/lib/Analysis/ProfileInfo.cpp @@ -1082,7 +1082,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(&ProfileInfo::ID)) return (ProfileInfo*)this; return this;