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

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
Index: runtime/vm/isolate.h
===================================================================
--- runtime/vm/isolate.h (revision 17504)
+++ 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_;
Ivan Posva 2013/01/24 18:25:57 #ifdef USING_SIMULATOR?
regis 2013/01/24 21:47:48 It's tricky. It would require including simulator.
LongJump* long_jump_base_;
TimerList timer_list_;
intptr_t deopt_id_;

Powered by Google App Engine
This is Rietveld 408576698