Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Unified Diff: runtime/vm/simulator_arm.h

Issue 13502002: Support FrameLookup vm test on ARM, requiring among other things: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/longjump.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/simulator_arm.h
===================================================================
--- runtime/vm/simulator_arm.h (revision 20887)
+++ runtime/vm/simulator_arm.h (working copy)
@@ -16,7 +16,6 @@
#error Do not include simulator_arm.h directly; use simulator.h.
#endif
-#include "vm/allocation.h"
#include "vm/constants_arm.h"
#include "vm/object.h"
@@ -55,8 +54,11 @@
// Accessor to the internal simulator stack top.
uword StackTop() const;
- // Executes ARM instructions until the PC reaches end_sim_pc.
- void Execute();
+ // The isolate's top_exit_frame_info refers to a Dart frame in the simulator
+ // stack. The simulator's top_exit_frame_info refers to a C++ frame in the
+ // native stack.
+ uword top_exit_frame_info() const { return top_exit_frame_info_; }
+ void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; }
// Call on program start.
static void InitOnce();
@@ -119,6 +121,7 @@
int icount_;
static int32_t flag_stop_sim_at_;
SimulatorSetjmpBuffer* last_setjmp_buffer_;
+ uword top_exit_frame_info_;
// Registered breakpoints.
Instr* break_pc_;
@@ -219,6 +222,9 @@
// Executes one instruction.
void InstructionDecode(Instr* instr);
+ // Executes ARM instructions until the PC reaches kEndSimulatingPC.
+ void Execute();
+
// Longjmp support for exceptions.
SimulatorSetjmpBuffer* last_setjmp_buffer() {
return last_setjmp_buffer_;
« no previous file with comments | « runtime/vm/longjump.cc ('k') | runtime/vm/simulator_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698