| Index: runtime/vm/assembler_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/assembler_ia32.cc (revision 25072)
|
| +++ runtime/vm/assembler_ia32.cc (working copy)
|
| @@ -8,6 +8,7 @@
|
| #include "vm/assembler.h"
|
| #include "vm/code_generator.h"
|
| #include "vm/heap.h"
|
| +#include "vm/locations.h"
|
| #include "vm/memory_region.h"
|
| #include "vm/runtime_entry.h"
|
| #include "vm/stack_frame.h"
|
| @@ -83,6 +84,13 @@
|
| };
|
|
|
|
|
| +Address Address::StackSlotAddress(const Location& stack_slot) {
|
| + ASSERT(stack_slot.IsStackSlot() || stack_slot.IsDoubleStackSlot() ||
|
| + stack_slot.IsQuadStackSlot());
|
| + return Address(EBP, stack_slot.ToStackSlotOffset());
|
| +}
|
| +
|
| +
|
| void Assembler::InitializeMemoryWithBreakpoints(uword data, int length) {
|
| memset(reinterpret_cast<void*>(data), Instr::kBreakPointInstruction, length);
|
| }
|
|
|