mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Equal means ==, not !=. Thanks to Benjamin for catching.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186600 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6abb4d2ef2
commit
960d6d909b
@ -110,7 +110,7 @@ namespace llvm {
|
||||
LLVM_EXPLICIT operator bool() const { return DbgNode != 0; }
|
||||
|
||||
bool operator==(DIDescriptor Other) const {
|
||||
return DbgNode != Other.DbgNode;
|
||||
return DbgNode == Other.DbgNode;
|
||||
}
|
||||
bool operator!=(DIDescriptor Other) const {
|
||||
return !operator==(Other);
|
||||
|
Loading…
Reference in New Issue
Block a user