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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 class RawGrowableObjectArray; | 47 class RawGrowableObjectArray; |
48 class RawImmutableArray; | 48 class RawImmutableArray; |
49 class RawInt32x4; | 49 class RawInt32x4; |
50 class RawLanguageError; | 50 class RawLanguageError; |
51 class RawLibrary; | 51 class RawLibrary; |
52 class RawLibraryPrefix; | 52 class RawLibraryPrefix; |
53 class RawLinkedHashMap; | 53 class RawLinkedHashMap; |
54 class RawLiteralToken; | 54 class RawLiteralToken; |
55 class RawMint; | 55 class RawMint; |
56 class RawMixinAppType; | 56 class RawMixinAppType; |
| 57 class RawBigint; |
57 class RawNamespace; | 58 class RawNamespace; |
58 class RawObject; | 59 class RawObject; |
59 class RawOneByteString; | 60 class RawOneByteString; |
60 class RawPatchClass; | 61 class RawPatchClass; |
61 class RawReceivePort; | 62 class RawReceivePort; |
62 class RawRedirectionData; | 63 class RawRedirectionData; |
63 class RawScript; | 64 class RawScript; |
64 class RawSendPort; | 65 class RawSendPort; |
65 class RawSmi; | 66 class RawSmi; |
66 class RawStacktrace; | 67 class RawStacktrace; |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 RawArray* NewArray(intptr_t len); | 291 RawArray* NewArray(intptr_t len); |
291 RawImmutableArray* NewImmutableArray(intptr_t len); | 292 RawImmutableArray* NewImmutableArray(intptr_t len); |
292 RawOneByteString* NewOneByteString(intptr_t len); | 293 RawOneByteString* NewOneByteString(intptr_t len); |
293 RawTwoByteString* NewTwoByteString(intptr_t len); | 294 RawTwoByteString* NewTwoByteString(intptr_t len); |
294 RawTypeArguments* NewTypeArguments(intptr_t len); | 295 RawTypeArguments* NewTypeArguments(intptr_t len); |
295 RawTokenStream* NewTokenStream(intptr_t len); | 296 RawTokenStream* NewTokenStream(intptr_t len); |
296 RawContext* NewContext(intptr_t num_variables); | 297 RawContext* NewContext(intptr_t num_variables); |
297 RawClass* NewClass(intptr_t class_id); | 298 RawClass* NewClass(intptr_t class_id); |
298 RawInstance* NewInstance(); | 299 RawInstance* NewInstance(); |
299 RawMint* NewMint(int64_t value); | 300 RawMint* NewMint(int64_t value); |
300 RawBigint* NewBigint(const char* hex_string); | 301 RawBigint* NewBigint(); |
301 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); | 302 RawTypedData* NewTypedData(intptr_t class_id, intptr_t len); |
302 RawDouble* NewDouble(double value); | 303 RawDouble* NewDouble(double value); |
303 RawUnresolvedClass* NewUnresolvedClass(); | 304 RawUnresolvedClass* NewUnresolvedClass(); |
304 RawType* NewType(); | 305 RawType* NewType(); |
305 RawTypeRef* NewTypeRef(); | 306 RawTypeRef* NewTypeRef(); |
306 RawTypeParameter* NewTypeParameter(); | 307 RawTypeParameter* NewTypeParameter(); |
307 RawBoundedType* NewBoundedType(); | 308 RawBoundedType* NewBoundedType(); |
308 RawMixinAppType* NewMixinAppType(); | 309 RawMixinAppType* NewMixinAppType(); |
309 RawPatchClass* NewPatchClass(); | 310 RawPatchClass* NewPatchClass(); |
310 RawClosureData* NewClosureData(); | 311 RawClosureData* NewClosureData(); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 friend class RedirectionData; | 405 friend class RedirectionData; |
405 friend class Function; | 406 friend class Function; |
406 friend class GrowableObjectArray; | 407 friend class GrowableObjectArray; |
407 friend class LinkedHashMap; | 408 friend class LinkedHashMap; |
408 friend class ImmutableArray; | 409 friend class ImmutableArray; |
409 friend class JSRegExp; | 410 friend class JSRegExp; |
410 friend class LanguageError; | 411 friend class LanguageError; |
411 friend class Library; | 412 friend class Library; |
412 friend class LibraryPrefix; | 413 friend class LibraryPrefix; |
413 friend class Namespace; | 414 friend class Namespace; |
| 415 friend class Bigint; |
414 friend class LiteralToken; | 416 friend class LiteralToken; |
415 friend class PatchClass; | 417 friend class PatchClass; |
416 friend class Script; | 418 friend class Script; |
417 friend class Stacktrace; | 419 friend class Stacktrace; |
418 friend class TokenStream; | 420 friend class TokenStream; |
419 friend class Type; | 421 friend class Type; |
420 friend class TypeArguments; | 422 friend class TypeArguments; |
421 friend class TypeParameter; | 423 friend class TypeParameter; |
422 friend class TypeRef; | 424 friend class TypeRef; |
423 friend class UnresolvedClass; | 425 friend class UnresolvedClass; |
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 private: | 739 private: |
738 SnapshotWriter* writer_; | 740 SnapshotWriter* writer_; |
739 bool as_references_; | 741 bool as_references_; |
740 | 742 |
741 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 743 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
742 }; | 744 }; |
743 | 745 |
744 } // namespace dart | 746 } // namespace dart |
745 | 747 |
746 #endif // VM_SNAPSHOT_H_ | 748 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |