forked from OSchip/llvm-project
parent
f5a1ca2133
commit
bcdb0423c5
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue