Chromium Code Reviews| 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_; |