| Index: runtime/vm/assembler_mips.h
|
| ===================================================================
|
| --- runtime/vm/assembler_mips.h (revision 25072)
|
| +++ runtime/vm/assembler_mips.h (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "platform/assert.h"
|
| #include "platform/utils.h"
|
| #include "vm/constants_mips.h"
|
| +#include "vm/locations.h"
|
| #include "vm/simulator.h"
|
|
|
| // References to documentation in this file refer to:
|
| @@ -24,6 +25,7 @@
|
|
|
| // Forward declarations.
|
| class RuntimeEntry;
|
| +class Location;
|
|
|
| class Immediate : public ValueObject {
|
| public:
|
| @@ -57,6 +59,8 @@
|
| return *this;
|
| }
|
|
|
| + static Address StackSlotAddress(const Location &stack_slot);
|
| +
|
| uint32_t encoding() const {
|
| ASSERT(Utils::IsInt(kImmBits, offset_));
|
| uint16_t imm_value = static_cast<uint16_t>(offset_);
|
| @@ -70,7 +74,7 @@
|
| Register base() const { return base_; }
|
| int32_t offset() const { return offset_; }
|
|
|
| - bool Equals(const Address& other) {
|
| + bool Equals(const Address& other) const {
|
| return (base_ == other.base_) && (offset_ == other.offset_);
|
| }
|
|
|
|
|