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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 friend class BoundedType; | 367 friend class BoundedType; |
367 friend class MixinAppType; | 368 friend class MixinAppType; |
368 friend class Class; | 369 friend class Class; |
369 friend class Context; | 370 friend class Context; |
370 friend class ContextScope; | 371 friend class ContextScope; |
371 friend class Field; | 372 friend class Field; |
372 friend class ClosureData; | 373 friend class ClosureData; |
373 friend class RedirectionData; | 374 friend class RedirectionData; |
374 friend class Function; | 375 friend class Function; |
375 friend class GrowableObjectArray; | 376 friend class GrowableObjectArray; |
| 377 friend class LinkedHashMap; |
376 friend class ImmutableArray; | 378 friend class ImmutableArray; |
377 friend class JSRegExp; | 379 friend class JSRegExp; |
378 friend class LanguageError; | 380 friend class LanguageError; |
379 friend class Library; | 381 friend class Library; |
380 friend class LibraryPrefix; | 382 friend class LibraryPrefix; |
381 friend class Namespace; | 383 friend class Namespace; |
382 friend class LiteralToken; | 384 friend class LiteralToken; |
383 friend class PatchClass; | 385 friend class PatchClass; |
384 friend class Script; | 386 friend class Script; |
385 friend class Stacktrace; | 387 friend class Stacktrace; |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 ObjectStore* object_store_; // Object store for common classes. | 567 ObjectStore* object_store_; // Object store for common classes. |
566 ClassTable* class_table_; // Class table for the class index to class lookup. | 568 ClassTable* class_table_; // Class table for the class index to class lookup. |
567 GrowableArray<ForwardObjectNode*> forward_list_; | 569 GrowableArray<ForwardObjectNode*> forward_list_; |
568 Exceptions::ExceptionType exception_type_; // Exception type. | 570 Exceptions::ExceptionType exception_type_; // Exception type. |
569 const char* exception_msg_; // Message associated with exception. | 571 const char* exception_msg_; // Message associated with exception. |
570 | 572 |
571 friend class RawArray; | 573 friend class RawArray; |
572 friend class RawClass; | 574 friend class RawClass; |
573 friend class RawClosureData; | 575 friend class RawClosureData; |
574 friend class RawGrowableObjectArray; | 576 friend class RawGrowableObjectArray; |
| 577 friend class RawLinkedHashMap; |
575 friend class RawImmutableArray; | 578 friend class RawImmutableArray; |
576 friend class RawJSRegExp; | 579 friend class RawJSRegExp; |
577 friend class RawLibrary; | 580 friend class RawLibrary; |
578 friend class RawLiteralToken; | 581 friend class RawLiteralToken; |
579 friend class RawReceivePort; | 582 friend class RawReceivePort; |
580 friend class RawScript; | 583 friend class RawScript; |
581 friend class RawStacktrace; | 584 friend class RawStacktrace; |
582 friend class RawTokenStream; | 585 friend class RawTokenStream; |
583 friend class RawTypeArguments; | 586 friend class RawTypeArguments; |
584 friend class RawMirrorReference; | 587 friend class RawMirrorReference; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
660 private: | 663 private: |
661 SnapshotWriter* writer_; | 664 SnapshotWriter* writer_; |
662 bool as_references_; | 665 bool as_references_; |
663 | 666 |
664 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 667 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
665 }; | 668 }; |
666 | 669 |
667 } // namespace dart | 670 } // namespace dart |
668 | 671 |
669 #endif // VM_SNAPSHOT_H_ | 672 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |