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

Unified Diff: runtime/vm/object.h

Issue 1290933002: Toward precompiled snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 8d3ef5ed66909c3decd135ee913e2f07ba3a321c..bf0a3ffeb969afabf5869ad0c94a8410463207ec 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2006,6 +2006,8 @@ class ICData : public Object {
bool is_static_call) const;
private:
+ static RawICData* New();
+
RawArray* ic_data() const {
return raw_ptr()->ic_data_;
}
@@ -4376,6 +4378,7 @@ class Code : public Object {
FINAL_HEAP_OBJECT_IMPLEMENTATION(Code, Object);
friend class Class;
+ friend class SnapshotWriter;
// So that the RawFunction pointer visitor can determine whether code the
// function points to is optimized.

Powered by Google App Engine
This is Rietveld 408576698