mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
I'm told that != is not ==
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b282085924
commit
586ea17be9
@ -185,7 +185,7 @@ namespace llvm {
|
|||||||
template<typename PT1, typename PT2>
|
template<typename PT1, typename PT2>
|
||||||
static bool operator!=(PointerUnion<PT1, PT2> lhs,
|
static bool operator!=(PointerUnion<PT1, PT2> lhs,
|
||||||
PointerUnion<PT1, PT2> rhs) {
|
PointerUnion<PT1, PT2> rhs) {
|
||||||
return lhs.getOpaqueValue() == rhs.getOpaqueValue();
|
return lhs.getOpaqueValue() != rhs.getOpaqueValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Teach SmallPtrSet that PointerUnion is "basically a pointer", that has
|
// Teach SmallPtrSet that PointerUnion is "basically a pointer", that has
|
||||||
|
Loading…
x
Reference in New Issue
Block a user