From b1b4c0187bc0e0da4f5b51602ae368d3a5f4f441 Mon Sep 17 00:00:00 2001 From: Andreas Neustifter Date: Fri, 11 Sep 2009 08:43:15 +0000 Subject: [PATCH] Bugfix. Sorry. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81517 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ProfileVerifierPass.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {