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 24 matching lines...) Expand all Loading... |
35 class RawBoundedType; | 35 class RawBoundedType; |
36 class RawMixinAppType; | 36 class RawMixinAppType; |
37 class RawClass; | 37 class RawClass; |
38 class RawContext; | 38 class RawContext; |
39 class RawDouble; | 39 class RawDouble; |
40 class RawField; | 40 class RawField; |
41 class RawClosureData; | 41 class RawClosureData; |
42 class RawRedirectionData; | 42 class RawRedirectionData; |
43 class RawFunction; | 43 class RawFunction; |
44 class RawGrowableObjectArray; | 44 class RawGrowableObjectArray; |
| 45 class RawLinkedHashMap; |
45 class RawFloat32x4; | 46 class RawFloat32x4; |
46 class RawFloat64x2; | 47 class RawFloat64x2; |
47 class RawInt32x4; | 48 class RawInt32x4; |
48 class RawImmutableArray; | 49 class RawImmutableArray; |
49 class RawLanguageError; | 50 class RawLanguageError; |
50 class RawLibrary; | 51 class RawLibrary; |
51 class RawLibraryPrefix; | 52 class RawLibraryPrefix; |
52 class RawNamespace; | 53 class RawNamespace; |
53 class RawLiteralToken; | 54 class RawLiteralToken; |
54 class RawMint; | 55 class RawMint; |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 friend class BoundedType; | 370 friend class BoundedType; |
370 friend class MixinAppType; | 371 friend class MixinAppType; |
371 friend class Class; | 372 friend class Class; |
372 friend class Context; | 373 friend class Context; |
373 friend class ContextScope; | 374 friend class ContextScope; |
374 friend class Field; | 375 friend class Field; |
375 friend class ClosureData; | 376 friend class ClosureData; |
376 friend class RedirectionData; | 377 friend class RedirectionData; |
377 friend class Function; | 378 friend class Function; |
378 friend class GrowableObjectArray; | 379 friend class GrowableObjectArray; |
| 380 friend class LinkedHashMap; |
379 friend class ImmutableArray; | 381 friend class ImmutableArray; |
380 friend class JSRegExp; | 382 friend class JSRegExp; |
381 friend class LanguageError; | 383 friend class LanguageError; |
382 friend class Library; | 384 friend class Library; |
383 friend class LibraryPrefix; | 385 friend class LibraryPrefix; |
384 friend class Namespace; | 386 friend class Namespace; |
385 friend class LiteralToken; | 387 friend class LiteralToken; |
386 friend class PatchClass; | 388 friend class PatchClass; |
387 friend class Script; | 389 friend class Script; |
388 friend class Stacktrace; | 390 friend class Stacktrace; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
606 ObjectStore* object_store_; // Object store for common classes. | 608 ObjectStore* object_store_; // Object store for common classes. |
607 ClassTable* class_table_; // Class table for the class index to class lookup. | 609 ClassTable* class_table_; // Class table for the class index to class lookup. |
608 ForwardList forward_list_; | 610 ForwardList forward_list_; |
609 Exceptions::ExceptionType exception_type_; // Exception type. | 611 Exceptions::ExceptionType exception_type_; // Exception type. |
610 const char* exception_msg_; // Message associated with exception. | 612 const char* exception_msg_; // Message associated with exception. |
611 | 613 |
612 friend class RawArray; | 614 friend class RawArray; |
613 friend class RawClass; | 615 friend class RawClass; |
614 friend class RawClosureData; | 616 friend class RawClosureData; |
615 friend class RawGrowableObjectArray; | 617 friend class RawGrowableObjectArray; |
| 618 friend class RawLinkedHashMap; |
616 friend class RawImmutableArray; | 619 friend class RawImmutableArray; |
617 friend class RawJSRegExp; | 620 friend class RawJSRegExp; |
618 friend class RawLibrary; | 621 friend class RawLibrary; |
619 friend class RawLiteralToken; | 622 friend class RawLiteralToken; |
620 friend class RawMirrorReference; | 623 friend class RawMirrorReference; |
621 friend class RawReceivePort; | 624 friend class RawReceivePort; |
622 friend class RawScript; | 625 friend class RawScript; |
623 friend class RawStacktrace; | 626 friend class RawStacktrace; |
624 friend class RawTokenStream; | 627 friend class RawTokenStream; |
625 friend class RawTypeArguments; | 628 friend class RawTypeArguments; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
702 private: | 705 private: |
703 SnapshotWriter* writer_; | 706 SnapshotWriter* writer_; |
704 bool as_references_; | 707 bool as_references_; |
705 | 708 |
706 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 709 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
707 }; | 710 }; |
708 | 711 |
709 } // namespace dart | 712 } // namespace dart |
710 | 713 |
711 #endif // VM_SNAPSHOT_H_ | 714 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |