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

Side by Side Diff: vm/raw_object_snapshot.cc

Issue 9701010: First step towards implementing stack map descriptions for the optimizing compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 9 months 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 | « vm/raw_object.cc ('k') | vm/vm_sources.gypi » ('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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 } 897 }
898 898
899 899
900 void RawPcDescriptors::WriteTo(SnapshotWriter* writer, 900 void RawPcDescriptors::WriteTo(SnapshotWriter* writer,
901 intptr_t object_id, 901 intptr_t object_id,
902 Snapshot::Kind kind) { 902 Snapshot::Kind kind) {
903 UNREACHABLE(); 903 UNREACHABLE();
904 } 904 }
905 905
906 906
907 RawStackmap* Stackmap::ReadFrom(SnapshotReader* reader,
908 intptr_t object_id,
909 intptr_t tags,
910 Snapshot::Kind kind) {
911 UNREACHABLE();
912 return Stackmap::null();
913 }
914
915
916 void RawStackmap::WriteTo(SnapshotWriter* writer,
917 intptr_t object_id,
918 Snapshot::Kind kind) {
919 UNREACHABLE();
920 }
921
922
907 RawLocalVarDescriptors* LocalVarDescriptors::ReadFrom(SnapshotReader* reader, 923 RawLocalVarDescriptors* LocalVarDescriptors::ReadFrom(SnapshotReader* reader,
908 intptr_t object_id, 924 intptr_t object_id,
909 intptr_t tags, 925 intptr_t tags,
910 Snapshot::Kind kind) { 926 Snapshot::Kind kind) {
911 UNREACHABLE(); 927 UNREACHABLE();
912 return LocalVarDescriptors::null(); 928 return LocalVarDescriptors::null();
913 } 929 }
914 930
915 931
916 void RawLocalVarDescriptors::WriteTo(SnapshotWriter* writer, 932 void RawLocalVarDescriptors::WriteTo(SnapshotWriter* writer,
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); 1967 writer->Write<RawObject*>(ptr()->num_bracket_expressions_);
1952 writer->WriteObject(ptr()->pattern_); 1968 writer->WriteObject(ptr()->pattern_);
1953 writer->WriteIntptrValue(ptr()->type_); 1969 writer->WriteIntptrValue(ptr()->type_);
1954 writer->WriteIntptrValue(ptr()->flags_); 1970 writer->WriteIntptrValue(ptr()->flags_);
1955 1971
1956 // Do not write out the data part which is native. 1972 // Do not write out the data part which is native.
1957 } 1973 }
1958 1974
1959 1975
1960 } // namespace dart 1976 } // namespace dart
OLDNEW
« no previous file with comments | « vm/raw_object.cc ('k') | vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698