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

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 94daedff914a8dc03ff77e9f40f48b1a83153bcf..316b19485a2b8ec439b68e1c02e0cb7dbf53d732 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -494,6 +494,9 @@ class Object {
static void set_instructions_snapshot_buffer(const uint8_t* buffer) {
instructions_snapshot_buffer_ = buffer;
}
+ static bool IsRunningPrecompiledCode() {
+ return instructions_snapshot_buffer != NULL;
siva 2015/09/15 23:22:01 instructions_snapshot_buffer_
rmacnak 2015/09/16 01:34:44 Done.
+ }
siva 2015/09/15 23:22:01 We should move instructions_snapshot_buffer_ field
static RawClass* class_class() { return class_class_; }
static RawClass* dynamic_class() { return dynamic_class_; }
@@ -3772,6 +3775,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