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

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

Issue 8992020: First part of inspecting local variables (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years 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
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 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 } 832 }
833 833
834 834
835 void RawPcDescriptors::WriteTo(SnapshotWriter* writer, 835 void RawPcDescriptors::WriteTo(SnapshotWriter* writer,
836 intptr_t object_id, 836 intptr_t object_id,
837 Snapshot::Kind kind) { 837 Snapshot::Kind kind) {
838 UNREACHABLE(); 838 UNREACHABLE();
839 } 839 }
840 840
841 841
842 RawLocalVarDescriptors* LocalVarDescriptors::ReadFrom(SnapshotReader* reader,
843 intptr_t object_id,
844 intptr_t tags,
845 Snapshot::Kind kind) {
846 UNREACHABLE();
847 return LocalVarDescriptors::null();
848 }
849
850
851 void RawLocalVarDescriptors::WriteTo(SnapshotWriter* writer,
852 intptr_t object_id,
853 Snapshot::Kind kind) {
854 UNREACHABLE();
855 }
856
857
842 RawExceptionHandlers* ExceptionHandlers::ReadFrom(SnapshotReader* reader, 858 RawExceptionHandlers* ExceptionHandlers::ReadFrom(SnapshotReader* reader,
843 intptr_t object_id, 859 intptr_t object_id,
844 intptr_t tags, 860 intptr_t tags,
845 Snapshot::Kind kind) { 861 Snapshot::Kind kind) {
846 UNREACHABLE(); 862 UNREACHABLE();
847 return ExceptionHandlers::null(); 863 return ExceptionHandlers::null();
848 } 864 }
849 865
850 866
851 void RawExceptionHandlers::WriteTo(SnapshotWriter* writer, 867 void RawExceptionHandlers::WriteTo(SnapshotWriter* writer,
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 // Write out all the other fields. 1602 // Write out all the other fields.
1587 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); 1603 writer->Write<RawObject*>(ptr()->num_bracket_expressions_);
1588 writer->WriteObject(ptr()->pattern_); 1604 writer->WriteObject(ptr()->pattern_);
1589 writer->Write<intptr_t>(ptr()->type_); 1605 writer->Write<intptr_t>(ptr()->type_);
1590 writer->Write<intptr_t>(ptr()->flags_); 1606 writer->Write<intptr_t>(ptr()->flags_);
1591 1607
1592 // Do not write out the data part which is native. 1608 // Do not write out the data part which is native.
1593 } 1609 }
1594 1610
1595 } // namespace dart 1611 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698