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 891 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 bool can_send_any_object_; // True if any Dart instance can be sent. | 902 bool can_send_any_object_; // True if any Dart instance can be sent. |
903 bool snapshot_code_; | 903 bool snapshot_code_; |
904 bool vm_isolate_is_symbolic_; | 904 bool vm_isolate_is_symbolic_; |
905 | 905 |
906 friend class FullSnapshotWriter; | 906 friend class FullSnapshotWriter; |
907 friend class RawArray; | 907 friend class RawArray; |
908 friend class RawClass; | 908 friend class RawClass; |
909 friend class RawClosureData; | 909 friend class RawClosureData; |
910 friend class RawContextScope; | 910 friend class RawContextScope; |
911 friend class RawExceptionHandlers; | 911 friend class RawExceptionHandlers; |
| 912 friend class RawField; |
912 friend class RawGrowableObjectArray; | 913 friend class RawGrowableObjectArray; |
913 friend class RawImmutableArray; | 914 friend class RawImmutableArray; |
914 friend class RawInstructions; | 915 friend class RawInstructions; |
915 friend class RawJSRegExp; | 916 friend class RawJSRegExp; |
916 friend class RawLibrary; | 917 friend class RawLibrary; |
917 friend class RawLinkedHashMap; | 918 friend class RawLinkedHashMap; |
918 friend class RawLiteralToken; | 919 friend class RawLiteralToken; |
919 friend class RawLocalVarDescriptors; | 920 friend class RawLocalVarDescriptors; |
920 friend class RawMirrorReference; | 921 friend class RawMirrorReference; |
921 friend class RawObjectPool; | 922 friend class RawObjectPool; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1050 private: | 1051 private: |
1051 SnapshotWriter* writer_; | 1052 SnapshotWriter* writer_; |
1052 bool as_references_; | 1053 bool as_references_; |
1053 | 1054 |
1054 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 1055 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
1055 }; | 1056 }; |
1056 | 1057 |
1057 } // namespace dart | 1058 } // namespace dart |
1058 | 1059 |
1059 #endif // VM_SNAPSHOT_H_ | 1060 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |