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

Unified Diff: runtime/vm/raw_object.h

Issue 1337083004: - Turn on writing of ic_data_array so that we have that information for script snapshots that would… (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/raw_object.h
diff --git a/runtime/vm/raw_object.h b/runtime/vm/raw_object.h
index bacbfe82f274c3c6a75c35a24193d29ad6a0dc1d..d731a60aa82069c62b08e91c8b5cb94429c6e985 100644
--- a/runtime/vm/raw_object.h
+++ b/runtime/vm/raw_object.h
@@ -760,11 +760,11 @@ class RawFunction : public RawObject {
RawArray* parameter_types_;
RawArray* parameter_names_;
RawObject* data_; // Additional data specific to the function kind.
- RawObject** to_snapshot() {
- return reinterpret_cast<RawObject**>(&ptr()->data_);
- }
// Fields below are not part of the snapshot.
RawArray* ic_data_array_; // ICData of unoptimized code.
+ RawObject** to_snapshot() {
+ return reinterpret_cast<RawObject**>(&ptr()->ic_data_array_);
+ }
RawObject** to_no_code() {
return reinterpret_cast<RawObject**>(&ptr()->ic_data_array_);
}

Powered by Google App Engine
This is Rietveld 408576698