Chromium Code Reviews| Index: runtime/vm/assembler_arm.h |
| =================================================================== |
| --- runtime/vm/assembler_arm.h (revision 25073) |
| +++ runtime/vm/assembler_arm.h (working copy) |
| @@ -12,12 +12,14 @@ |
| #include "platform/assert.h" |
| #include "platform/utils.h" |
| #include "vm/constants_arm.h" |
| +#include "vm/locations.h" |
|
srdjan
2013/07/17 16:13:04
I do not think that assembler should depend on opt
|
| #include "vm/simulator.h" |
| namespace dart { |
| // Forward declarations. |
| class RuntimeEntry; |
| +class Location; |
| class Label : public ValueObject { |
| public: |
| @@ -255,7 +257,9 @@ |
| encoding_ = so.encoding() | am | (static_cast<uint32_t>(rn) << kRnShift); |
| } |
| - bool Equals(const Address& other) { |
| + static Address StackSlotAddress(const Location& stack_slot); |
| + |
| + bool Equals(const Address& other) const { |
| return (encoding_ == other.encoding_) && (kind_ == other.kind_); |
| } |