Chromium Code Reviews| Index: runtime/vm/isolate.h |
| diff --git a/runtime/vm/isolate.h b/runtime/vm/isolate.h |
| index ce2de0ffdc8ae38e43077ee853ba4493141991aa..43031c4c19a56153c695e5dfe05a1778ab2db468 100644 |
| --- a/runtime/vm/isolate.h |
| +++ b/runtime/vm/isolate.h |
| @@ -122,12 +122,6 @@ class Isolate : public BaseIsolate { |
| return thread == NULL ? NULL : thread->isolate(); |
| } |
| - static void InitOnce(); |
| - static Isolate* Init(const char* name_prefix, |
| - const Dart_IsolateFlags& api_flags, |
| - bool is_vm_isolate = false); |
| - void Shutdown(); |
| - |
| // Register a newly introduced class. |
| void RegisterClass(const Class& cls); |
| void RegisterClassAt(intptr_t index, const Class& cls); |
| @@ -755,8 +749,16 @@ class Isolate : public BaseIsolate { |
| } |
| private: |
| + friend class Dart; // Init, InitOnce, Shutdown. |
| + |
| explicit Isolate(const Dart_IsolateFlags& api_flags); |
| + static void InitOnce(); |
|
Florian Schneider
2015/08/03 14:07:32
I made these methods private, so that cc-tests don
|
| + static Isolate* Init(const char* name_prefix, |
| + const Dart_IsolateFlags& api_flags, |
| + bool is_vm_isolate = false); |
| + void Shutdown(); |
| + |
| void BuildName(const char* name_prefix); |
| void PrintInvokedFunctions(); |