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

Unified Diff: vm/dart.h

Issue 11648006: Create read only handles for empty_array and sentinel objects (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years 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/compiler.cc ('k') | vm/dart.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/dart.h
===================================================================
--- vm/dart.h (revision 16415)
+++ vm/dart.h (working copy)
@@ -14,6 +14,7 @@
class DebugInfo;
class Isolate;
class RawError;
+class ReadOnlyHandles;
class ThreadPool;
class Dart : public AllStatic {
@@ -39,10 +40,14 @@
}
static DebugInfo* pprof_symbol_generator() { return pprof_symbol_generator_; }
+ static uword AllocateReadOnlyHandle();
+ static bool IsReadOnlyHandle(uword address);
+
private:
static Isolate* vm_isolate_;
static ThreadPool* thread_pool_;
static DebugInfo* pprof_symbol_generator_;
+ static ReadOnlyHandles* predefined_handles_;
};
} // namespace dart
« no previous file with comments | « vm/compiler.cc ('k') | vm/dart.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698