| Index: runtime/vm/object_store.h
|
| diff --git a/runtime/vm/object_store.h b/runtime/vm/object_store.h
|
| index 5e220e9f03d5fcaebc98c7f78abb457e0f342db3..e22a096a312ae6ee35ce8dd8f7b2b14094c7baad 100644
|
| --- a/runtime/vm/object_store.h
|
| +++ b/runtime/vm/object_store.h
|
| @@ -426,6 +426,13 @@ class ObjectStore {
|
| return OFFSET_OF(ObjectStore, library_load_error_table_);
|
| }
|
|
|
| + RawArray* compile_time_constants() const {
|
| + return compile_time_constants_;
|
| + }
|
| + void set_compile_time_constants(const Array& value) {
|
| + compile_time_constants_ = value.raw();
|
| + }
|
| +
|
| // Visit all object pointers.
|
| void VisitObjectPointers(ObjectPointerVisitor* visitor);
|
|
|
| @@ -515,8 +522,9 @@ class ObjectStore {
|
| RawTypedData* empty_uint32_array_;
|
| RawFunction* handle_message_function_;
|
| RawArray* library_load_error_table_;
|
| + RawArray* compile_time_constants_;
|
| RawObject** to() {
|
| - return reinterpret_cast<RawObject**>(&library_load_error_table_);
|
| + return reinterpret_cast<RawObject**>(&compile_time_constants_);
|
| }
|
|
|
| friend class SnapshotReader;
|
|
|