From: Andreas Neustifter Date: Fri, 11 Sep 2009 08:43:15 +0000 (+0000) Subject: Bugfix. Sorry. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b1b4c0187bc0e0da4f5b51602ae368d3a5f4f441;p=oota-llvm.git Bugfix. Sorry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ProfileVerifierPass.cpp b/lib/Analysis/ProfileVerifierPass.cpp index d5348292cf7..9766da5992d 100644 --- a/lib/Analysis/ProfileVerifierPass.cpp +++ b/lib/Analysis/ProfileVerifierPass.cpp @@ -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 {