Bugfix. Sorry.
authorAndreas Neustifter <astifter-llvm@gmx.at>
Fri, 11 Sep 2009 08:43:15 +0000 (08:43 +0000)
committerAndreas Neustifter <astifter-llvm@gmx.at>
Fri, 11 Sep 2009 08:43:15 +0000 (08:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81517 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ProfileVerifierPass.cpp

index d5348292cf7ea8d540955a6060bca67beb8aebbc..9766da5992df0b8f7f32d52cbe8896eadec479de 100644 (file)
@@ -199,7 +199,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) {
   double EdgeWeight = PI->getEdgeWeight(E);
   if (EdgeWeight == ProfileInfo::MissingValue) {
     errs() << "Edge " << E << " in Function " 
-           << ProfileInfo.getFunction(E)->getNameStr() << ": ";
+           << ProfileInfo::getFunction(E)->getNameStr() << ": ";
     ASSERTMESSAGE("ASSERT:Edge has missing value");
     return 0;
   } else {