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

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

Issue 10352012: Using SubtypeTestCache object instead of an array, that way we do not need to patch and can communi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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
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 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 } 1066 }
1067 1067
1068 1068
1069 void RawICData::WriteTo(SnapshotWriter* writer, 1069 void RawICData::WriteTo(SnapshotWriter* writer,
1070 intptr_t object_id, 1070 intptr_t object_id,
1071 Snapshot::Kind kind) { 1071 Snapshot::Kind kind) {
1072 UNREACHABLE(); 1072 UNREACHABLE();
1073 } 1073 }
1074 1074
1075 1075
1076 RawSubtypeTestCache* SubtypeTestCache::ReadFrom(SnapshotReader* reader,
1077 intptr_t object_id,
1078 intptr_t tags,
1079 Snapshot::Kind kind) {
1080 UNREACHABLE();
1081 return NULL;
1082 }
1083
1084
1085 void RawSubtypeTestCache::WriteTo(SnapshotWriter* writer,
1086 intptr_t object_id,
1087 Snapshot::Kind kind) {
1088 UNREACHABLE();
1089 }
1090
1091
1076 RawError* Error::ReadFrom(SnapshotReader* reader, 1092 RawError* Error::ReadFrom(SnapshotReader* reader,
1077 intptr_t object_id, 1093 intptr_t object_id,
1078 intptr_t tags, 1094 intptr_t tags,
1079 Snapshot::Kind kind) { 1095 Snapshot::Kind kind) {
1080 UNREACHABLE(); 1096 UNREACHABLE();
1081 return Error::null(); 1097 return Error::null();
1082 } 1098 }
1083 1099
1084 1100
1085 void RawError::WriteTo(SnapshotWriter* writer, 1101 void RawError::WriteTo(SnapshotWriter* writer,
(...skipping 888 matching lines...) Expand 10 before | Expand all | Expand 10 after
1974 writer->Write<RawObject*>(ptr()->num_bracket_expressions_); 1990 writer->Write<RawObject*>(ptr()->num_bracket_expressions_);
1975 writer->WriteObject(ptr()->pattern_); 1991 writer->WriteObject(ptr()->pattern_);
1976 writer->WriteIntptrValue(ptr()->type_); 1992 writer->WriteIntptrValue(ptr()->type_);
1977 writer->WriteIntptrValue(ptr()->flags_); 1993 writer->WriteIntptrValue(ptr()->flags_);
1978 1994
1979 // Do not write out the data part which is native. 1995 // Do not write out the data part which is native.
1980 } 1996 }
1981 1997
1982 1998
1983 } // namespace dart 1999 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698