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

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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 } 787 }
788 788
789 789
790 void RawPcDescriptors::WriteTo(SnapshotWriter* writer, 790 void RawPcDescriptors::WriteTo(SnapshotWriter* writer,
791 intptr_t object_id, 791 intptr_t object_id,
792 Snapshot::Kind kind) { 792 Snapshot::Kind kind) {
793 UNREACHABLE(); 793 UNREACHABLE();
794 } 794 }
795 795
796 796
797 RawLocalVarDescriptors* LocalVarDescriptors::ReadFrom(SnapshotReader* reader,
798 intptr_t object_id,
799 intptr_t tags,
800 Snapshot::Kind kind) {
801 UNREACHABLE();
802 return LocalVarDescriptors::null();
803 }
804
805
806 void RawLocalVarDescriptors::WriteTo(SnapshotWriter* writer,
807 intptr_t object_id,
808 Snapshot::Kind kind) {
809 UNREACHABLE();
810 }
811
812
797 RawExceptionHandlers* ExceptionHandlers::ReadFrom(SnapshotReader* reader, 813 RawExceptionHandlers* ExceptionHandlers::ReadFrom(SnapshotReader* reader,
798 intptr_t object_id, 814 intptr_t object_id,
799 intptr_t tags, 815 intptr_t tags,
800 Snapshot::Kind kind) { 816 Snapshot::Kind kind) {
801 UNREACHABLE(); 817 UNREACHABLE();
802 return ExceptionHandlers::null(); 818 return ExceptionHandlers::null();
803 } 819 }
804 820
805 821
806 void RawExceptionHandlers::WriteTo(SnapshotWriter* writer, 822 void RawExceptionHandlers::WriteTo(SnapshotWriter* writer,
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 // Write out all the other fields. 1534 // Write out all the other fields.
1519 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); 1535 writer->Write<RawObject*>(ptr()->num_bracket_expressions_);
1520 writer->WriteObject(ptr()->pattern_); 1536 writer->WriteObject(ptr()->pattern_);
1521 writer->Write<intptr_t>(ptr()->type_); 1537 writer->Write<intptr_t>(ptr()->type_);
1522 writer->Write<intptr_t>(ptr()->flags_); 1538 writer->Write<intptr_t>(ptr()->flags_);
1523 1539
1524 // Do not write out the data part which is native. 1540 // Do not write out the data part which is native.
1525 } 1541 }
1526 1542
1527 } // namespace dart 1543 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698