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

Unified Diff: vm/isolate_win.cc

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
« no previous file with comments | « vm/isolate_macos.cc ('k') | vm/snapshot_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/isolate_win.cc
===================================================================
--- vm/isolate_win.cc (revision 1955)
+++ vm/isolate_win.cc (working copy)
@@ -20,19 +20,13 @@
}
-// Empty isolate init callback which is registered before VM isolate creation.
-static void* VMIsolateInitCallback(void* data) {
- return reinterpret_cast<void*>(1);
-}
-
-
void Isolate::InitOnce() {
ASSERT(isolate_key == TLS_OUT_OF_INDEXES);
isolate_key = TlsAlloc();
if (isolate_key == TLS_OUT_OF_INDEXES) {
FATAL("TlsAlloc failed");
}
- init_callback_ = VMIsolateInitCallback;
+ create_callback_ = NULL;
}
} // namespace dart
« no previous file with comments | « vm/isolate_macos.cc ('k') | vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698