Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 6dd75dd955dc2c9f135008fd6788f895153a7918..1181cc1633c5cd87450b5797e9996bfa7a0e21fe 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -482,6 +482,12 @@ class Object { |
return *vm_isolate_snapshot_object_table_; |
} |
static void InitVmIsolateSnapshotObjectTable(intptr_t len); |
+ static const uint8_t* instructions_snapshot_buffer() { |
+ return instructions_snapshot_buffer_; |
+ } |
+ static void set_instructions_snapshot_buffer(const uint8_t* buffer) { |
+ instructions_snapshot_buffer_ = buffer; |
+ } |
static RawClass* class_class() { return class_class_; } |
static RawClass* dynamic_class() { return dynamic_class_; } |
@@ -806,6 +812,7 @@ class Object { |
static LanguageError* snapshot_writer_error_; |
static LanguageError* branch_offset_error_; |
static Array* vm_isolate_snapshot_object_table_; |
+ static const uint8_t* instructions_snapshot_buffer_; |
friend void ClassTable::Register(const Class& cls); |
friend void RawObject::Validate(Isolate* isolate) const; |