| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/bigint_operations.h" | 5 #include "vm/bigint_operations.h" |
| 6 #include "vm/object.h" | 6 #include "vm/object.h" |
| 7 #include "vm/object_store.h" | 7 #include "vm/object_store.h" |
| 8 #include "vm/snapshot.h" | 8 #include "vm/snapshot.h" |
| 9 #include "vm/visitor.h" | 9 #include "vm/visitor.h" |
| 10 | 10 |
| (...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 ArrayWriteTo(writer, | 1240 ArrayWriteTo(writer, |
| 1241 object_id, | 1241 object_id, |
| 1242 serialize_classes, | 1242 serialize_classes, |
| 1243 ObjectStore::kImmutableArrayClass, | 1243 ObjectStore::kImmutableArrayClass, |
| 1244 ptr()->length_, | 1244 ptr()->length_, |
| 1245 ptr()->type_arguments_, | 1245 ptr()->type_arguments_, |
| 1246 ptr()->data()); | 1246 ptr()->data()); |
| 1247 } | 1247 } |
| 1248 | 1248 |
| 1249 | 1249 |
| 1250 RawExternalArray* ExternalArray::ReadFrom(SnapshotReader* reader, |
| 1251 intptr_t object_id, |
| 1252 bool classes_serialized) { |
| 1253 UNIMPLEMENTED(); |
| 1254 return ExternalArray::null(); |
| 1255 } |
| 1256 |
| 1257 |
| 1258 void RawExternalArray::WriteTo(SnapshotWriter* writer, |
| 1259 intptr_t object_id, |
| 1260 bool serialize_classes) { |
| 1261 UNIMPLEMENTED(); |
| 1262 } |
| 1263 |
| 1264 |
| 1250 RawClosure* Closure::ReadFrom(SnapshotReader* reader, | 1265 RawClosure* Closure::ReadFrom(SnapshotReader* reader, |
| 1251 intptr_t object_id, | 1266 intptr_t object_id, |
| 1252 bool classes_serialized) { | 1267 bool classes_serialized) { |
| 1253 UNIMPLEMENTED(); | 1268 UNIMPLEMENTED(); |
| 1254 return Closure::null(); | 1269 return Closure::null(); |
| 1255 } | 1270 } |
| 1256 | 1271 |
| 1257 | 1272 |
| 1258 void RawClosure::WriteTo(SnapshotWriter* writer, | 1273 void RawClosure::WriteTo(SnapshotWriter* writer, |
| 1259 intptr_t object_id, | 1274 intptr_t object_id, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 // Write out all the other fields. | 1337 // Write out all the other fields. |
| 1323 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); | 1338 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); |
| 1324 writer->WriteObject(ptr()->pattern_); | 1339 writer->WriteObject(ptr()->pattern_); |
| 1325 writer->Write<intptr_t>(ptr()->type_); | 1340 writer->Write<intptr_t>(ptr()->type_); |
| 1326 writer->Write<intptr_t>(ptr()->flags_); | 1341 writer->Write<intptr_t>(ptr()->flags_); |
| 1327 | 1342 |
| 1328 // Do not write out the data part which is native. | 1343 // Do not write out the data part which is native. |
| 1329 } | 1344 } |
| 1330 | 1345 |
| 1331 } // namespace dart | 1346 } // namespace dart |
| OLD | NEW |