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

Unified Diff: runtime/vm/object.h

Issue 1336763002: Last snapshot bits to get working precompiled hello_world on x64. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 ed4a7a79ec1f12d0ebd200840a36170bb86616bc..c84729ada1f80b48fdc5070c6e696730042fe9a1 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -488,12 +488,6 @@ 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_; }
@@ -819,7 +813,6 @@ 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;
@@ -3772,6 +3765,7 @@ class Instructions : public Object {
FINAL_HEAP_OBJECT_IMPLEMENTATION(Instructions, Object);
friend class Class;
friend class Code;
+ friend class InstructionsWriter;
};

Powered by Google App Engine
This is Rietveld 408576698