| Index: runtime/vm/assembler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_arm.cc (revision 25073)
|
| +++ runtime/vm/assembler_arm.cc (working copy)
|
| @@ -6,6 +6,7 @@
|
| #if defined(TARGET_ARCH_ARM)
|
|
|
| #include "vm/assembler.h"
|
| +#include "vm/locations.h"
|
| #include "vm/simulator.h"
|
| #include "vm/runtime_entry.h"
|
| #include "vm/stack_frame.h"
|
| @@ -149,6 +150,13 @@
|
| };
|
|
|
|
|
| +Address Address::StackSlotAddress(const Location& stack_slot) {
|
| + ASSERT(stack_slot.IsStackSlot() || stack_slot.IsDoubleStackSlot() ||
|
| + stack_slot.IsQuadStackSlot());
|
| + return Address(FP, stack_slot.ToStackSlotOffset());
|
| +}
|
| +
|
| +
|
| uint32_t Address::encoding3() const {
|
| if (kind_ == Immediate) {
|
| uint32_t offset = encoding_ & kOffset12Mask;
|
|
|