Index: runtime/vm/object.h |
diff --git a/runtime/vm/object.h b/runtime/vm/object.h |
index 04a8a0d6d8aa70d903f189a4352222e608170b99..002d35241479b57aa02e3bfa61615e4ae9f5cf19 100644 |
--- a/runtime/vm/object.h |
+++ b/runtime/vm/object.h |
@@ -488,6 +488,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_; } |
@@ -813,6 +819,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; |