Index: vm/isolate_linux.cc |
=================================================================== |
--- vm/isolate_linux.cc (revision 1955) |
+++ vm/isolate_linux.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 |