Chromium Code Reviews| Index: runtime/vm/isolate.h |
| =================================================================== |
| --- runtime/vm/isolate.h (revision 10031) |
| +++ runtime/vm/isolate.h (working copy) |
| @@ -214,6 +214,18 @@ |
| return shutdown_callback_; |
| } |
| + intptr_t* deopt_registers_copy() const { return deopt_registers_copy_; } |
| + void set_deopt_registers_copy(intptr_t* value) { |
| + deopt_registers_copy_ = value; |
| + } |
| + intptr_t* deopt_frame_copy() const { return deopt_frame_copy_; } |
| + void SetDeoptFrameCopy(intptr_t* value, intptr_t size) { |
|
siva
2012/07/31 01:59:12
set_deopt_frame_copy to be consistent?
srdjan
2012/07/31 16:21:28
This is not a simple setter, therefore it cannot b
|
| + ASSERT((value == NULL) || (size > 0)); |
| + deopt_frame_copy_ = value; |
| + deopt_frame_copy_size_ = size; |
| + } |
| + intptr_t deopt_frame_copy_size() const { return deopt_frame_copy_size_; } |
| + |
| private: |
| Isolate(); |
| @@ -253,6 +265,10 @@ |
| uword spawn_data_; |
| GcPrologueCallbacks gc_prologue_callbacks_; |
| GcEpilogueCallbacks gc_epilogue_callbacks_; |
| + // Deoptimization support. |
| + intptr_t* deopt_registers_copy_; |
| + intptr_t* deopt_frame_copy_; |
| + intptr_t deopt_frame_copy_size_; |
| static Dart_IsolateCreateCallback create_callback_; |
| static Dart_IsolateInterruptCallback interrupt_callback_; |