mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
If assertions are not enabled, we should return False here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38535 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b9591c667d
commit
97b4ac8c84
@ -430,13 +430,12 @@ static bool MergeCompare(const std::pair<unsigned,MachineBasicBlock*> &p,
|
|||||||
else if (p.second->getNumber() > q.second->getNumber())
|
else if (p.second->getNumber() > q.second->getNumber())
|
||||||
return false;
|
return false;
|
||||||
else {
|
else {
|
||||||
// _GLIBCXX_DEBUG needs to check strict weak ordering and it
|
// _GLIBCXX_DEBUG checks strict weak ordering, which involves comparing
|
||||||
// does it by doing a compare on the same object.
|
// an object with itself.
|
||||||
#ifdef _GLIBCXX_DEBUG
|
#ifndef _GLIBCXX_DEBUG
|
||||||
return(false);
|
|
||||||
#else
|
|
||||||
assert(0 && "Predecessor appears twice");
|
assert(0 && "Predecessor appears twice");
|
||||||
#endif
|
#endif
|
||||||
|
return(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user