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

Unified Diff: runtime/vm/dart.h

Issue 1186353004: Move allocation of static API handles Dart_True, etc. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | runtime/vm/dart.cc » ('j') | runtime/vm/dart_api_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.h
diff --git a/runtime/vm/dart.h b/runtime/vm/dart.h
index a3234ca6324c9ab5c942a0f47a47228957d1d040..6d8cce1e4971da4c8cf7f849efeeba9d79c5fa75 100644
--- a/runtime/vm/dart.h
+++ b/runtime/vm/dart.h
@@ -13,6 +13,7 @@ namespace dart {
// Forward declarations.
class DebugInfo;
class Isolate;
+class LocalHandle;
class RawError;
class ReadOnlyHandles;
class ThreadPool;
@@ -46,6 +47,8 @@ class Dart : public AllStatic {
}
static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; }
+ static LocalHandle* AllocateReadOnlyApiHandle();
+
static uword AllocateReadOnlyHandle();
static bool IsReadOnlyHandle(uword address);
« no previous file with comments | « no previous file | runtime/vm/dart.cc » ('j') | runtime/vm/dart_api_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698