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

Unified Diff: runtime/vm/isolate.h

Issue 10836020: First step toward deoptimization using deoptimization info: splits deoptimization into two steps: c… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 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_;

Powered by Google App Engine
This is Rietveld 408576698