summaryrefslogtreecommitdiff
path: root/Source/Core/Common/BitSet.h
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-08-14 12:03:46 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2015-08-14 12:03:46 -0500
commit3bc5505272e7ca11decb49d59ab492dfe8ca87e8 (patch)
tree3c57fcbeea06be5dc4b681ee2303334f45a339fe /Source/Core/Common/BitSet.h
parentf76a30c9fde004f256d01d6f9d925e7da903fa6f (diff)
parent715802d5aa096fad957f0b2fadac3d1b829fe7d6 (diff)
Merge pull request #2814 from Sonicadvance1/aarch64_faster_fastmem
[AArch64] Banish slowmem operations to farcode.
Diffstat (limited to 'Source/Core/Common/BitSet.h')
-rw-r--r--Source/Core/Common/BitSet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Common/BitSet.h b/Source/Core/Common/BitSet.h
index 70b9204fa5..caa59c150f 100644
--- a/Source/Core/Common/BitSet.h
+++ b/Source/Core/Common/BitSet.h
@@ -155,6 +155,8 @@ public:
const Ref operator[](size_t bit) const { return (*const_cast<BitSet*>(this))[bit]; }
bool operator==(BitSet other) const { return m_val == other.m_val; }
bool operator!=(BitSet other) const { return m_val != other.m_val; }
+ bool operator<(BitSet other) const { return m_val < other.m_val; }
+ bool operator>(BitSet other) const { return m_val > other.m_val; }
BitSet operator|(BitSet other) const { return BitSet(m_val | other.m_val); }
BitSet operator&(BitSet other) const { return BitSet(m_val & other.m_val); }
BitSet operator^(BitSet other) const { return BitSet(m_val ^ other.m_val); }