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 #ifndef VM_SNAPSHOT_H_ | 5 #ifndef VM_SNAPSHOT_H_ |
6 #define VM_SNAPSHOT_H_ | 6 #define VM_SNAPSHOT_H_ |
7 | 7 |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 #include "vm/bitfield.h" | 10 #include "vm/bitfield.h" |
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 bool unmarked_objects_; // True if marked objects have been unmarked. | 833 bool unmarked_objects_; // True if marked objects have been unmarked. |
834 bool can_send_any_object_; // True if any Dart instance can be sent. | 834 bool can_send_any_object_; // True if any Dart instance can be sent. |
835 bool snapshot_code_; | 835 bool snapshot_code_; |
836 | 836 |
837 friend class FullSnapshotWriter; | 837 friend class FullSnapshotWriter; |
838 friend class RawArray; | 838 friend class RawArray; |
839 friend class RawClass; | 839 friend class RawClass; |
840 friend class RawClosureData; | 840 friend class RawClosureData; |
841 friend class RawContextScope; | 841 friend class RawContextScope; |
842 friend class RawExceptionHandlers; | 842 friend class RawExceptionHandlers; |
| 843 friend class RawField; |
843 friend class RawGrowableObjectArray; | 844 friend class RawGrowableObjectArray; |
844 friend class RawImmutableArray; | 845 friend class RawImmutableArray; |
845 friend class RawInstructions; | 846 friend class RawInstructions; |
846 friend class RawJSRegExp; | 847 friend class RawJSRegExp; |
847 friend class RawLibrary; | 848 friend class RawLibrary; |
848 friend class RawLinkedHashMap; | 849 friend class RawLinkedHashMap; |
849 friend class RawLiteralToken; | 850 friend class RawLiteralToken; |
850 friend class RawLocalVarDescriptors; | 851 friend class RawLocalVarDescriptors; |
851 friend class RawMirrorReference; | 852 friend class RawMirrorReference; |
852 friend class RawObjectPool; | 853 friend class RawObjectPool; |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 private: | 972 private: |
972 SnapshotWriter* writer_; | 973 SnapshotWriter* writer_; |
973 bool as_references_; | 974 bool as_references_; |
974 | 975 |
975 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 976 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
976 }; | 977 }; |
977 | 978 |
978 } // namespace dart | 979 } // namespace dart |
979 | 980 |
980 #endif // VM_SNAPSHOT_H_ | 981 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |