projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ef554d
)
D'oh - reversed logic.
author
Jim Laskey
<jlaskey@mac.com>
Mon, 6 Nov 2006 13:20:29 +0000
(13:20 +0000)
committer
Jim Laskey
<jlaskey@mac.com>
Mon, 6 Nov 2006 13:20:29 +0000
(13:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31474
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineDebugInfo.cpp
b/lib/CodeGen/MachineDebugInfo.cpp
index b895cd7727a551838d348e85485116b2c276ec76..490e48d926259d6d657987bc9137256d061a32ea 100644
(file)
--- a/
lib/CodeGen/MachineDebugInfo.cpp
+++ b/
lib/CodeGen/MachineDebugInfo.cpp
@@
-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