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

Unified Diff: runtime/vm/object.h

Issue 1318803002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: READ_POINTERS Created 5 years, 4 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
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;

Powered by Google App Engine
This is Rietveld 408576698