| Index: runtime/vm/assembler_x64.h
|
| ===================================================================
|
| --- runtime/vm/assembler_x64.h (revision 25072)
|
| +++ runtime/vm/assembler_x64.h (working copy)
|
| @@ -12,11 +12,13 @@
|
| #include "platform/assert.h"
|
| #include "platform/utils.h"
|
| #include "vm/constants_x64.h"
|
| +#include "vm/locations.h"
|
|
|
| namespace dart {
|
|
|
| // Forward declarations.
|
| class RuntimeEntry;
|
| +class Location;
|
|
|
| class Immediate : public ValueObject {
|
| public:
|
| @@ -91,7 +93,7 @@
|
| return *this;
|
| }
|
|
|
| - bool Equals(const Operand& other) {
|
| + bool Equals(const Operand& other) const {
|
| if (length_ != other.length_) return false;
|
| if (rex_ != other.rex_) return false;
|
| for (uint8_t i = 0; i < length_; i++) {
|
| @@ -208,6 +210,8 @@
|
|
|
| Address(const Address& other) : Operand(other) { }
|
|
|
| + static Address StackSlotAddress(const Location& stack_slot);
|
| +
|
| Address& operator=(const Address& other) {
|
| Operand::operator=(other);
|
| return *this;
|
|
|