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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 class RawClosureData; | 45 class RawClosureData; |
46 class RawCodeSourceMap; | 46 class RawCodeSourceMap; |
47 class RawContext; | 47 class RawContext; |
48 class RawContextScope; | 48 class RawContextScope; |
49 class RawDouble; | 49 class RawDouble; |
50 class RawExceptionHandlers; | 50 class RawExceptionHandlers; |
51 class RawField; | 51 class RawField; |
52 class RawFloat32x4; | 52 class RawFloat32x4; |
53 class RawFloat64x2; | 53 class RawFloat64x2; |
54 class RawFunction; | 54 class RawFunction; |
55 class RawFunctionType; | |
56 class RawGrowableObjectArray; | 55 class RawGrowableObjectArray; |
57 class RawICData; | 56 class RawICData; |
58 class RawImmutableArray; | 57 class RawImmutableArray; |
59 class RawInstructions; | 58 class RawInstructions; |
60 class RawInt32x4; | 59 class RawInt32x4; |
61 class RawJSRegExp; | 60 class RawJSRegExp; |
62 class RawLanguageError; | 61 class RawLanguageError; |
63 class RawLibrary; | 62 class RawLibrary; |
64 class RawLibraryPrefix; | 63 class RawLibraryPrefix; |
65 class RawLinkedHashMap; | 64 class RawLinkedHashMap; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 RawTokenStream* NewTokenStream(intptr_t len); | 437 RawTokenStream* NewTokenStream(intptr_t len); |
439 RawContext* NewContext(intptr_t num_variables); | 438 RawContext* NewContext(intptr_t num_variables); |
440 RawClass* NewClass(intptr_t class_id); | 439 RawClass* NewClass(intptr_t class_id); |
441 RawInstance* NewInstance(); | 440 RawInstance* NewInstance(); |
442 RawMint* NewMint(int64_t value); | 441 RawMint* NewMint(int64_t value); |
443 RawBigint* NewBigint(); | 442 RawBigint* NewBigint(); |
444 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); | 443 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); |
445 RawDouble* NewDouble(double value); | 444 RawDouble* NewDouble(double value); |
446 RawUnresolvedClass* NewUnresolvedClass(); | 445 RawUnresolvedClass* NewUnresolvedClass(); |
447 RawType* NewType(); | 446 RawType* NewType(); |
448 RawFunctionType* NewFunctionType(); | |
449 RawTypeRef* NewTypeRef(); | 447 RawTypeRef* NewTypeRef(); |
450 RawTypeParameter* NewTypeParameter(); | 448 RawTypeParameter* NewTypeParameter(); |
451 RawBoundedType* NewBoundedType(); | 449 RawBoundedType* NewBoundedType(); |
452 RawMixinAppType* NewMixinAppType(); | 450 RawMixinAppType* NewMixinAppType(); |
453 RawPatchClass* NewPatchClass(); | 451 RawPatchClass* NewPatchClass(); |
454 RawClosure* NewClosure(); | 452 RawClosure* NewClosure(); |
455 RawClosureData* NewClosureData(); | 453 RawClosureData* NewClosureData(); |
456 RawRedirectionData* NewRedirectionData(); | 454 RawRedirectionData* NewRedirectionData(); |
457 RawFunction* NewFunction(); | 455 RawFunction* NewFunction(); |
458 RawCode* NewCode(intptr_t pointer_offsets_length); | 456 RawCode* NewCode(intptr_t pointer_offsets_length); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
624 friend class MixinAppType; | 622 friend class MixinAppType; |
625 friend class Namespace; | 623 friend class Namespace; |
626 friend class ObjectPool; | 624 friend class ObjectPool; |
627 friend class PatchClass; | 625 friend class PatchClass; |
628 friend class RedirectionData; | 626 friend class RedirectionData; |
629 friend class Script; | 627 friend class Script; |
630 friend class Stacktrace; | 628 friend class Stacktrace; |
631 friend class SubtypeTestCache; | 629 friend class SubtypeTestCache; |
632 friend class TokenStream; | 630 friend class TokenStream; |
633 friend class Type; | 631 friend class Type; |
634 friend class FunctionType; | |
635 friend class TypeArguments; | 632 friend class TypeArguments; |
636 friend class TypeParameter; | 633 friend class TypeParameter; |
637 friend class TypeRef; | 634 friend class TypeRef; |
638 friend class UnhandledException; | 635 friend class UnhandledException; |
639 friend class UnresolvedClass; | 636 friend class UnresolvedClass; |
640 friend class WeakProperty; | 637 friend class WeakProperty; |
641 DISALLOW_COPY_AND_ASSIGN(SnapshotReader); | 638 DISALLOW_COPY_AND_ASSIGN(SnapshotReader); |
642 }; | 639 }; |
643 | 640 |
644 | 641 |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1196 private: | 1193 private: |
1197 SnapshotWriter* writer_; | 1194 SnapshotWriter* writer_; |
1198 bool as_references_; | 1195 bool as_references_; |
1199 | 1196 |
1200 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 1197 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
1201 }; | 1198 }; |
1202 | 1199 |
1203 } // namespace dart | 1200 } // namespace dart |
1204 | 1201 |
1205 #endif // VM_SNAPSHOT_H_ | 1202 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |