Bugfix. Sorry.

llvm-svn: 81517
This commit is contained in:
Andreas Neustifter 2009-09-11 08:43:15 +00:00
parent f5a1ca2133
commit bcdb0423c5
1 changed files with 1 additions and 1 deletions

View 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 {