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

Unified Diff: runtime/vm/raw_object_snapshot.cc

Issue 1162033005: Fix http://dartbug.com/23578: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update to ToT. Created 5 years, 6 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_snapshot.cc
diff --git a/runtime/vm/raw_object_snapshot.cc b/runtime/vm/raw_object_snapshot.cc
index 541e8a7500eec08fb7c4b76b7e6c2f4b53b8520d..152c4b0d8b3f583cf840c0329c33e12c72b09059 100644
--- a/runtime/vm/raw_object_snapshot.cc
+++ b/runtime/vm/raw_object_snapshot.cc
@@ -722,8 +722,8 @@ RawFunction* Function::ReadFrom(SnapshotReader* reader,
}
// Initialize all fields that are not part of the snapshot.
+ func.ClearICDataArray();
func.ClearCode();
- func.set_ic_data_array(Object::null_array());
return func.raw();
}
« runtime/vm/isolate.cc ('K') | « runtime/vm/parser.cc ('k') | runtime/vm/service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698