| Index: runtime/vm/assembler_x64.h
|
| ===================================================================
|
| --- runtime/vm/assembler_x64.h (revision 22436)
|
| +++ runtime/vm/assembler_x64.h (working copy)
|
| @@ -91,6 +91,15 @@
|
| return *this;
|
| }
|
|
|
| + bool Equals(const Operand& other) {
|
| + if (length_ != other.length_) return false;
|
| + if (rex_ != other.rex_) return false;
|
| + for (uint8_t i = 0; i < length_; i++) {
|
| + if (encoding_[i] != other.encoding_[i]) return false;
|
| + }
|
| + return true;
|
| + }
|
| +
|
| protected:
|
| Operand() : length_(0), rex_(REX_NONE) { } // Needed by subclass Address.
|
|
|
|
|