mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-08 21:10:35 +00:00
D'oh - reversed logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31474 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ef554d2b1
commit
84ca10f47b
@ -1570,7 +1570,7 @@ void MachineDebugInfo::InvalidateLabel(unsigned LabelID) {
|
||||
bool MachineDebugInfo::isLabelValid(unsigned LabelID) {
|
||||
std::vector<unsigned>::iterator I =
|
||||
std::lower_bound(DeletedLabelIDs.begin(), DeletedLabelIDs.end(), LabelID);
|
||||
return I != DeletedLabelIDs.end() && *I == LabelID;
|
||||
return I == DeletedLabelIDs.end() || *I != LabelID;
|
||||
}
|
||||
|
||||
/// RecordSource - Register a source file with debug info. Returns an source
|
||||
|
Loading…
Reference in New Issue
Block a user