Index: runtime/vm/object_store.h |
diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h |
index 36562357c2eb9031e272be27c464395d3afb2d63..047a16d03df58e644c41f284b06b7e2a1d3721fb 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,26 @@ 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(); |
+ } |
+ |
+ RawGrowableObjectArray* tag_table() const { return tag_table_; } |
+ void set_tag_table(const GrowableObjectArray& value) { |
+ tag_table_ = value.raw(); |
+ } |
+ |
+ RawUserTag* current_tag() const { return current_tag_; } |
+ void set_current_tag(const UserTag& tag) { |
+ current_tag_ = tag.raw(); |
+ } |
+ void clear_current_tag() { |
+ current_tag_ = UserTag::null(); |
+ } |
+ |
RawArray* symbol_table() const { return symbol_table_; } |
void set_symbol_table(const Array& value) { symbol_table_ = value.raw(); } |
@@ -294,6 +315,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 +345,9 @@ class ObjectStore { |
case kTypedData: |
typed_data_library_ = value.raw(); |
break; |
+ case kProfiler: |
+ profiler_library_ = value.raw(); |
+ break; |
default: |
UNREACHABLE(); |
} |
@@ -475,6 +500,9 @@ class ObjectStore { |
RawClass* jsregexp_class_; |
RawClass* weak_property_class_; |
RawClass* mirror_reference_class_; |
+ RawClass* user_tag_class_; |
+ RawGrowableObjectArray* tag_table_; |
+ RawUserTag* current_tag_; |
siva
2014/04/09 21:32:01
current_tag_ and tag_table_ move to the isolate st
|
RawArray* symbol_table_; |
RawArray* canonical_type_arguments_; |
RawLibrary* async_library_; |
@@ -489,6 +517,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_; |