| 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 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 834 } | 834 } |
| 835 | 835 |
| 836 | 836 |
| 837 void RawUnhandledException::WriteTo(SnapshotWriter* writer, | 837 void RawUnhandledException::WriteTo(SnapshotWriter* writer, |
| 838 intptr_t object_id, | 838 intptr_t object_id, |
| 839 bool serialize_classes) { | 839 bool serialize_classes) { |
| 840 UNIMPLEMENTED(); | 840 UNIMPLEMENTED(); |
| 841 } | 841 } |
| 842 | 842 |
| 843 | 843 |
| 844 RawApiFailure* ApiFailure::ReadFrom(SnapshotReader* reader, |
| 845 intptr_t object_id, |
| 846 bool classes_serialized) { |
| 847 UNIMPLEMENTED(); |
| 848 return ApiFailure::null(); |
| 849 } |
| 850 |
| 851 |
| 852 void RawApiFailure::WriteTo(SnapshotWriter* writer, |
| 853 intptr_t object_id, |
| 854 bool serialize_classes) { |
| 855 UNIMPLEMENTED(); |
| 856 } |
| 857 |
| 858 |
| 844 RawInstance* Instance::ReadFrom(SnapshotReader* reader, | 859 RawInstance* Instance::ReadFrom(SnapshotReader* reader, |
| 845 intptr_t object_id, | 860 intptr_t object_id, |
| 846 bool classes_serialized) { | 861 bool classes_serialized) { |
| 847 UNREACHABLE(); | 862 UNREACHABLE(); |
| 848 return Instance::null(); | 863 return Instance::null(); |
| 849 } | 864 } |
| 850 | 865 |
| 851 | 866 |
| 852 void RawInstance::WriteTo(SnapshotWriter* writer, | 867 void RawInstance::WriteTo(SnapshotWriter* writer, |
| 853 intptr_t object_id, | 868 intptr_t object_id, |
| (...skipping 466 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 |