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

Unified Diff: vm/isolate.h

Issue 8673002: - Refactor the isolate callback mechanism to also include creation of the (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: '' Created 9 years, 1 month 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: vm/isolate.h
===================================================================
--- vm/isolate.h (revision 1771)
+++ vm/isolate.h (working copy)
@@ -186,13 +186,6 @@
#endif
}
- void set_init_callback_data(void* value) {
- init_callback_data_ = value;
- }
- void* init_callback_data() const {
- return init_callback_data_;
- }
-
Dart_LibraryTagHandler library_tag_handler() const {
return library_tag_handler_;
}
@@ -200,8 +193,8 @@
library_tag_handler_ = value;
}
- static void SetInitCallback(Dart_IsolateInitCallback callback);
- static Dart_IsolateInitCallback InitCallback();
+ static void SetCreateAndInitCallback(Dart_IsolateCreateAndInitCallback cback);
+ static Dart_IsolateCreateAndInitCallback CreateAndInitCallback();
uword stack_limit_address() const {
return reinterpret_cast<uword>(&stack_limit_);
@@ -254,7 +247,6 @@
int32_t random_seed_;
BigintStore* bigint_store_;
uword top_exit_frame_info_;
- void* init_callback_data_;
Dart_LibraryTagHandler library_tag_handler_;
ApiState* api_state_;
StubCode* stub_code_;
@@ -265,7 +257,7 @@
uword stack_limit_on_overflow_exception_;
intptr_t ast_node_id_;
- static Dart_IsolateInitCallback init_callback_;
+ static Dart_IsolateCreateAndInitCallback create_init_callback_;
DISALLOW_COPY_AND_ASSIGN(Isolate);
};

Powered by Google App Engine
This is Rietveld 408576698