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

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
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index ac95aba3ec4bd8fb41aeea3f6733523f23910268..bdfab97cd5745c957ab6ab8ed107a36b363f1301 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2002,6 +2002,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.
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698