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

Side by Side Diff: runtime/vm/raw_object_snapshot.cc

Issue 8501034: Deal with unhandled exceptions the same way in all Dart api functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/raw_object.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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, 844 RawApiError* ApiError::ReadFrom(SnapshotReader* reader,
845 intptr_t object_id, 845 intptr_t object_id,
846 bool classes_serialized) { 846 bool classes_serialized) {
847 UNIMPLEMENTED(); 847 UNIMPLEMENTED();
848 return ApiFailure::null(); 848 return ApiError::null();
849 } 849 }
850 850
851 851
852 void RawApiFailure::WriteTo(SnapshotWriter* writer, 852 void RawApiError::WriteTo(SnapshotWriter* writer,
853 intptr_t object_id, 853 intptr_t object_id,
854 bool serialize_classes) { 854 bool serialize_classes) {
855 UNIMPLEMENTED(); 855 UNIMPLEMENTED();
856 } 856 }
857 857
858 858
859 RawInstance* Instance::ReadFrom(SnapshotReader* reader, 859 RawInstance* Instance::ReadFrom(SnapshotReader* reader,
860 intptr_t object_id, 860 intptr_t object_id,
861 bool classes_serialized) { 861 bool classes_serialized) {
862 UNREACHABLE(); 862 UNREACHABLE();
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after
1320 // Write out all the other fields. 1320 // Write out all the other fields.
1321 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); 1321 writer->Write<RawObject*>(ptr()->num_bracket_expressions_);
1322 writer->WriteObject(ptr()->pattern_); 1322 writer->WriteObject(ptr()->pattern_);
1323 writer->Write<intptr_t>(ptr()->type_); 1323 writer->Write<intptr_t>(ptr()->type_);
1324 writer->Write<intptr_t>(ptr()->flags_); 1324 writer->Write<intptr_t>(ptr()->flags_);
1325 1325
1326 // Do not write out the data part which is native. 1326 // Do not write out the data part which is native.
1327 } 1327 }
1328 1328
1329 } // namespace dart 1329 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/raw_object.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698