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(); |
} |