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

Unified Diff: vm/isolate_macos.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_linux.cc ('k') | vm/isolate_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/isolate_macos.cc
===================================================================
--- vm/isolate_macos.cc (revision 1955)
+++ vm/isolate_macos.cc (working copy)
@@ -29,19 +29,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 == PTHREAD_KEY_UNSET);
int result = pthread_key_create(&isolate_key, NULL);
// Make sure creating a key was successful.
VALIDATE_PTHREAD_RESULT(result);
ASSERT(isolate_key != PTHREAD_KEY_UNSET);
- init_callback_ = VMIsolateInitCallback;
+ create_callback_ = NULL;
}
} // namespace dart
« no previous file with comments | « vm/isolate_linux.cc ('k') | vm/isolate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698