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

Unified Diff: runtime/vm/object_store.h

Issue 230863005: Initial UserTag and dart:profiler library (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_store.h
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
index 36562357c2eb9031e272be27c464395d3afb2d63..f18f20362f9974515003cc4fd284f3a524fd8af4 100644
--- a/runtime/vm/object_store.h
+++ b/runtime/vm/object_store.h
@@ -30,6 +30,7 @@ class ObjectStore {
kMath,
kMirrors,
kTypedData,
+ kProfiler,
};
~ObjectStore();
@@ -274,6 +275,13 @@ class ObjectStore {
mirror_reference_class_ = value.raw();
}
+ RawClass* user_tag_class() const {
+ return user_tag_class_;
+ }
+ void set_user_tag_class(const Class& value) {
+ user_tag_class_ = value.raw();
+ }
+
RawArray* symbol_table() const { return symbol_table_; }
void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); }
@@ -294,6 +302,7 @@ class ObjectStore {
RawLibrary* math_library() const { return math_library_; }
RawLibrary* mirrors_library() const { return mirrors_library_; }
RawLibrary* typed_data_library() const { return typed_data_library_; }
+ RawLibrary* profiler_library() const { return profiler_library_; }
void set_bootstrap_library(BootstrapLibraryId index, const Library& value) {
switch (index) {
case kAsync:
@@ -323,6 +332,9 @@ class ObjectStore {
case kTypedData:
typed_data_library_ = value.raw();
break;
+ case kProfiler:
+ profiler_library_ = value.raw();
+ break;
default:
UNREACHABLE();
}
@@ -475,6 +487,7 @@ class ObjectStore {
RawClass* jsregexp_class_;
RawClass* weak_property_class_;
RawClass* mirror_reference_class_;
+ RawClass* user_tag_class_;
RawArray* symbol_table_;
RawArray* canonical_type_arguments_;
RawLibrary* async_library_;
@@ -489,6 +502,7 @@ class ObjectStore {
RawLibrary* native_wrappers_library_;
RawLibrary* root_library_;
RawLibrary* typed_data_library_;
+ RawLibrary* profiler_library_;
RawGrowableObjectArray* libraries_;
RawGrowableObjectArray* pending_classes_;
RawGrowableObjectArray* pending_functions_;
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/object_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698