diff --git a/InstructionSets/x86/Descriptors.hpp b/InstructionSets/x86/Descriptors.hpp index 0ce7b8246..0094a84e3 100644 --- a/InstructionSets/x86/Descriptors.hpp +++ b/InstructionSets/x86/Descriptors.hpp @@ -112,6 +112,10 @@ struct SegmentRegisterSet { return values_[index_of(segment)]; } + bool operator ==(const SegmentRegisterSet &rhs) const { + return values_ == rhs.values_; + } + private: std::array values_; static constexpr size_t index_of(const Source segment) {