OLD | NEW |
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/symbols.h" | 9 #include "vm/symbols.h" |
10 #include "vm/visitor.h" | 10 #include "vm/visitor.h" |
(...skipping 1233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1244 } | 1244 } |
1245 | 1245 |
1246 | 1246 |
1247 void RawICData::WriteTo(SnapshotWriter* writer, | 1247 void RawICData::WriteTo(SnapshotWriter* writer, |
1248 intptr_t object_id, | 1248 intptr_t object_id, |
1249 Snapshot::Kind kind) { | 1249 Snapshot::Kind kind) { |
1250 UNREACHABLE(); | 1250 UNREACHABLE(); |
1251 } | 1251 } |
1252 | 1252 |
1253 | 1253 |
| 1254 RawMegamorphicCache* MegamorphicCache::ReadFrom(SnapshotReader* reader, |
| 1255 intptr_t object_id, |
| 1256 intptr_t tags, |
| 1257 Snapshot::Kind kind) { |
| 1258 UNREACHABLE(); |
| 1259 return NULL; |
| 1260 } |
| 1261 |
| 1262 |
| 1263 void RawMegamorphicCache::WriteTo(SnapshotWriter* writer, |
| 1264 intptr_t object_id, |
| 1265 Snapshot::Kind kind) { |
| 1266 UNREACHABLE(); |
| 1267 } |
| 1268 |
| 1269 |
1254 RawSubtypeTestCache* SubtypeTestCache::ReadFrom(SnapshotReader* reader, | 1270 RawSubtypeTestCache* SubtypeTestCache::ReadFrom(SnapshotReader* reader, |
1255 intptr_t object_id, | 1271 intptr_t object_id, |
1256 intptr_t tags, | 1272 intptr_t tags, |
1257 Snapshot::Kind kind) { | 1273 Snapshot::Kind kind) { |
1258 UNREACHABLE(); | 1274 UNREACHABLE(); |
1259 return NULL; | 1275 return NULL; |
1260 } | 1276 } |
1261 | 1277 |
1262 | 1278 |
1263 void RawSubtypeTestCache::WriteTo(SnapshotWriter* writer, | 1279 void RawSubtypeTestCache::WriteTo(SnapshotWriter* writer, |
(...skipping 947 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2211 // Write out the class and tags information. | 2227 // Write out the class and tags information. |
2212 writer->WriteIndexedObject(kWeakPropertyCid); | 2228 writer->WriteIndexedObject(kWeakPropertyCid); |
2213 writer->WriteIntptrValue(writer->GetObjectTags(this)); | 2229 writer->WriteIntptrValue(writer->GetObjectTags(this)); |
2214 | 2230 |
2215 // Write out all the other fields. | 2231 // Write out all the other fields. |
2216 writer->Write<RawObject*>(ptr()->key_); | 2232 writer->Write<RawObject*>(ptr()->key_); |
2217 writer->Write<RawObject*>(ptr()->value_); | 2233 writer->Write<RawObject*>(ptr()->value_); |
2218 } | 2234 } |
2219 | 2235 |
2220 } // namespace dart | 2236 } // namespace dart |
OLD | NEW |