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 2628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2639 | 2639 |
2640 // Write out the class and tags information. | 2640 // Write out the class and tags information. |
2641 writer->WriteIndexedObject(kWeakPropertyCid); | 2641 writer->WriteIndexedObject(kWeakPropertyCid); |
2642 writer->WriteIntptrValue(writer->GetObjectTags(this)); | 2642 writer->WriteIntptrValue(writer->GetObjectTags(this)); |
2643 | 2643 |
2644 // Write out all the other fields. | 2644 // Write out all the other fields. |
2645 writer->Write<RawObject*>(ptr()->key_); | 2645 writer->Write<RawObject*>(ptr()->key_); |
2646 writer->Write<RawObject*>(ptr()->value_); | 2646 writer->Write<RawObject*>(ptr()->value_); |
2647 } | 2647 } |
2648 | 2648 |
| 2649 |
| 2650 RawMirrorReference* MirrorReference::ReadFrom(SnapshotReader* reader, |
| 2651 intptr_t object_id, |
| 2652 intptr_t tags, |
| 2653 Snapshot::Kind kind) { |
| 2654 UNREACHABLE(); |
| 2655 return MirrorReference::null(); |
| 2656 } |
| 2657 |
| 2658 |
| 2659 void RawMirrorReference::WriteTo(SnapshotWriter* writer, |
| 2660 intptr_t object_id, |
| 2661 Snapshot::Kind kind) { |
| 2662 UNREACHABLE(); |
| 2663 } |
| 2664 |
2649 } // namespace dart | 2665 } // namespace dart |
OLD | NEW |