mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-20 14:29:27 +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) {
|
bool MachineDebugInfo::isLabelValid(unsigned LabelID) {
|
||||||
std::vector<unsigned>::iterator I =
|
std::vector<unsigned>::iterator I =
|
||||||
std::lower_bound(DeletedLabelIDs.begin(), DeletedLabelIDs.end(), LabelID);
|
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
|
/// RecordSource - Register a source file with debug info. Returns an source
|
||||||
|
Loading…
x
Reference in New Issue
Block a user