mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Bugfix. Sorry.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a58c180c2
commit
b1b4c0187b
@ -199,7 +199,7 @@ double ProfileVerifierPass::ReadOrAssert(ProfileInfo::Edge E) {
|
|||||||
double EdgeWeight = PI->getEdgeWeight(E);
|
double EdgeWeight = PI->getEdgeWeight(E);
|
||||||
if (EdgeWeight == ProfileInfo::MissingValue) {
|
if (EdgeWeight == ProfileInfo::MissingValue) {
|
||||||
errs() << "Edge " << E << " in Function "
|
errs() << "Edge " << E << " in Function "
|
||||||
<< ProfileInfo.getFunction(E)->getNameStr() << ": ";
|
<< ProfileInfo::getFunction(E)->getNameStr() << ": ";
|
||||||
ASSERTMESSAGE("ASSERT:Edge has missing value");
|
ASSERTMESSAGE("ASSERT:Edge has missing value");
|
||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user