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

Unified Diff: runtime/vm/isolate.h

Issue 12041056: Initial revision of ARM simulator and (empty) MIPS simulator. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/disassembler.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 17622)
+++ runtime/vm/isolate.h (working copy)
@@ -36,6 +36,7 @@
class RawMint;
class RawInteger;
class RawError;
+class Simulator;
class StackResource;
class StackZone;
class StubCode;
@@ -201,6 +202,10 @@
// The true stack limit for this isolate.
uword saved_stack_limit() const { return saved_stack_limit_; }
+ static uword GetSpecifiedStackSize();
+
+ static const intptr_t kStackSizeBuffer = (16 * KB);
+
enum {
kApiInterrupt = 0x1, // An interrupt from Dart_InterruptIsolate.
kMessageInterrupt = 0x2, // An interrupt to process an out of band message.
@@ -238,6 +243,9 @@
Debugger* debugger() const { return debugger_; }
+ Simulator* simulator() const { return simulator_; }
+ void set_simulator(Simulator* value) { simulator_ = value; }
+
GcPrologueCallbacks& gc_prologue_callbacks() {
return gc_prologue_callbacks_;
}
@@ -342,10 +350,6 @@
void BuildName(const char* name_prefix);
void PrintInvokedFunctions();
- static uword GetSpecifiedStackSize();
-
- static const intptr_t kStackSizeBuffer = (16 * KB);
-
static ThreadLocalKey isolate_key;
StoreBufferBlock store_buffer_block_;
StoreBuffer store_buffer_;
@@ -364,6 +368,7 @@
ApiState* api_state_;
StubCode* stub_code_;
Debugger* debugger_;
+ Simulator* simulator_;
LongJump* long_jump_base_;
TimerList timer_list_;
intptr_t deopt_id_;
« no previous file with comments | « runtime/vm/disassembler.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698