| 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 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1238 ArrayWriteTo(writer, | 1238 ArrayWriteTo(writer, |
| 1239 object_id, | 1239 object_id, |
| 1240 serialize_classes, | 1240 serialize_classes, |
| 1241 ObjectStore::kImmutableArrayClass, | 1241 ObjectStore::kImmutableArrayClass, |
| 1242 ptr()->length_, | 1242 ptr()->length_, |
| 1243 ptr()->type_arguments_, | 1243 ptr()->type_arguments_, |
| 1244 ptr()->data()); | 1244 ptr()->data()); |
| 1245 } | 1245 } |
| 1246 | 1246 |
| 1247 | 1247 |
| 1248 RawByteBuffer* ByteBuffer::ReadFrom(SnapshotReader* reader, |
| 1249 intptr_t object_id, |
| 1250 bool classes_serialized) { |
| 1251 UNIMPLEMENTED(); |
| 1252 return ByteBuffer::null(); |
| 1253 } |
| 1254 |
| 1255 |
| 1256 void RawByteBuffer::WriteTo(SnapshotWriter* writer, |
| 1257 intptr_t object_id, |
| 1258 bool serialize_classes) { |
| 1259 UNIMPLEMENTED(); |
| 1260 } |
| 1261 |
| 1262 |
| 1248 RawClosure* Closure::ReadFrom(SnapshotReader* reader, | 1263 RawClosure* Closure::ReadFrom(SnapshotReader* reader, |
| 1249 intptr_t object_id, | 1264 intptr_t object_id, |
| 1250 bool classes_serialized) { | 1265 bool classes_serialized) { |
| 1251 UNIMPLEMENTED(); | 1266 UNIMPLEMENTED(); |
| 1252 return Closure::null(); | 1267 return Closure::null(); |
| 1253 } | 1268 } |
| 1254 | 1269 |
| 1255 | 1270 |
| 1256 void RawClosure::WriteTo(SnapshotWriter* writer, | 1271 void RawClosure::WriteTo(SnapshotWriter* writer, |
| 1257 intptr_t object_id, | 1272 intptr_t object_id, |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 // Write out all the other fields. | 1335 // Write out all the other fields. |
| 1321 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); | 1336 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); |
| 1322 writer->WriteObject(ptr()->pattern_); | 1337 writer->WriteObject(ptr()->pattern_); |
| 1323 writer->Write<intptr_t>(ptr()->type_); | 1338 writer->Write<intptr_t>(ptr()->type_); |
| 1324 writer->Write<intptr_t>(ptr()->flags_); | 1339 writer->Write<intptr_t>(ptr()->flags_); |
| 1325 | 1340 |
| 1326 // Do not write out the data part which is native. | 1341 // Do not write out the data part which is native. |
| 1327 } | 1342 } |
| 1328 | 1343 |
| 1329 } // namespace dart | 1344 } // namespace dart |
| OLD | NEW |