| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 class RawMegamorphicCache; | 67 class RawMegamorphicCache; |
| 68 class RawMint; | 68 class RawMint; |
| 69 class RawMixinAppType; | 69 class RawMixinAppType; |
| 70 class RawBigint; | 70 class RawBigint; |
| 71 class RawNamespace; | 71 class RawNamespace; |
| 72 class RawObject; | 72 class RawObject; |
| 73 class RawObjectPool; | 73 class RawObjectPool; |
| 74 class RawOneByteString; | 74 class RawOneByteString; |
| 75 class RawPatchClass; | 75 class RawPatchClass; |
| 76 class RawPcDescriptors; | 76 class RawPcDescriptors; |
| 77 class RawPixels; |
| 77 class RawReceivePort; | 78 class RawReceivePort; |
| 78 class RawRedirectionData; | 79 class RawRedirectionData; |
| 79 class RawScript; | 80 class RawScript; |
| 80 class RawSendPort; | 81 class RawSendPort; |
| 81 class RawSmi; | 82 class RawSmi; |
| 82 class RawStackmap; | 83 class RawStackmap; |
| 83 class RawStacktrace; | 84 class RawStacktrace; |
| 84 class RawSubtypeTestCache; | 85 class RawSubtypeTestCache; |
| 85 class RawTokenStream; | 86 class RawTokenStream; |
| 86 class RawTwoByteString; | 87 class RawTwoByteString; |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 RawImmutableArray* NewImmutableArray(intptr_t len); | 443 RawImmutableArray* NewImmutableArray(intptr_t len); |
| 443 RawOneByteString* NewOneByteString(intptr_t len); | 444 RawOneByteString* NewOneByteString(intptr_t len); |
| 444 RawTwoByteString* NewTwoByteString(intptr_t len); | 445 RawTwoByteString* NewTwoByteString(intptr_t len); |
| 445 RawTypeArguments* NewTypeArguments(intptr_t len); | 446 RawTypeArguments* NewTypeArguments(intptr_t len); |
| 446 RawTokenStream* NewTokenStream(intptr_t len); | 447 RawTokenStream* NewTokenStream(intptr_t len); |
| 447 RawContext* NewContext(intptr_t num_variables); | 448 RawContext* NewContext(intptr_t num_variables); |
| 448 RawClass* NewClass(intptr_t class_id); | 449 RawClass* NewClass(intptr_t class_id); |
| 449 RawInstance* NewInstance(); | 450 RawInstance* NewInstance(); |
| 450 RawMint* NewMint(int64_t value); | 451 RawMint* NewMint(int64_t value); |
| 451 RawBigint* NewBigint(); | 452 RawBigint* NewBigint(); |
| 453 RawPixels* NewPixels(); |
| 452 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); | 454 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); |
| 453 RawDouble* NewDouble(double value); | 455 RawDouble* NewDouble(double value); |
| 454 RawUnresolvedClass* NewUnresolvedClass(); | 456 RawUnresolvedClass* NewUnresolvedClass(); |
| 455 RawType* NewType(); | 457 RawType* NewType(); |
| 456 RawTypeRef* NewTypeRef(); | 458 RawTypeRef* NewTypeRef(); |
| 457 RawTypeParameter* NewTypeParameter(); | 459 RawTypeParameter* NewTypeParameter(); |
| 458 RawBoundedType* NewBoundedType(); | 460 RawBoundedType* NewBoundedType(); |
| 459 RawMixinAppType* NewMixinAppType(); | 461 RawMixinAppType* NewMixinAppType(); |
| 460 RawPatchClass* NewPatchClass(); | 462 RawPatchClass* NewPatchClass(); |
| 461 RawClosure* NewClosure(); | 463 RawClosure* NewClosure(); |
| (...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 624 friend class LibraryPrefix; | 626 friend class LibraryPrefix; |
| 625 friend class LinkedHashMap; | 627 friend class LinkedHashMap; |
| 626 friend class LiteralToken; | 628 friend class LiteralToken; |
| 627 friend class LocalVarDescriptors; | 629 friend class LocalVarDescriptors; |
| 628 friend class MegamorphicCache; | 630 friend class MegamorphicCache; |
| 629 friend class MirrorReference; | 631 friend class MirrorReference; |
| 630 friend class MixinAppType; | 632 friend class MixinAppType; |
| 631 friend class Namespace; | 633 friend class Namespace; |
| 632 friend class ObjectPool; | 634 friend class ObjectPool; |
| 633 friend class PatchClass; | 635 friend class PatchClass; |
| 636 friend class Pixels; |
| 634 friend class RedirectionData; | 637 friend class RedirectionData; |
| 635 friend class Script; | 638 friend class Script; |
| 636 friend class Stacktrace; | 639 friend class Stacktrace; |
| 637 friend class SubtypeTestCache; | 640 friend class SubtypeTestCache; |
| 638 friend class TokenStream; | 641 friend class TokenStream; |
| 639 friend class Type; | 642 friend class Type; |
| 640 friend class TypeArguments; | 643 friend class TypeArguments; |
| 641 friend class TypeParameter; | 644 friend class TypeParameter; |
| 642 friend class TypeRef; | 645 friend class TypeRef; |
| 643 friend class UnhandledException; | 646 friend class UnhandledException; |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1117 private: | 1120 private: |
| 1118 SnapshotWriter* writer_; | 1121 SnapshotWriter* writer_; |
| 1119 bool as_references_; | 1122 bool as_references_; |
| 1120 | 1123 |
| 1121 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 1124 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
| 1122 }; | 1125 }; |
| 1123 | 1126 |
| 1124 } // namespace dart | 1127 } // namespace dart |
| 1125 | 1128 |
| 1126 #endif // VM_SNAPSHOT_H_ | 1129 #endif // VM_SNAPSHOT_H_ |
| OLD | NEW |