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

Unified Diff: runtime/vm/isolate.h

Issue 1263513002: VM: Load allocation-top and -end via Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fixed cc tests Created 5 years, 4 months 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 | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « runtime/vm/intrinsifier_x64.cc ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698