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 17 matching lines...) Expand all Loading... |
28 class Heap; | 28 class Heap; |
29 class LanguageError; | 29 class LanguageError; |
30 class Library; | 30 class Library; |
31 class Object; | 31 class Object; |
32 class ObjectStore; | 32 class ObjectStore; |
33 class RawAbstractTypeArguments; | 33 class RawAbstractTypeArguments; |
34 class RawApiError; | 34 class RawApiError; |
35 class RawArray; | 35 class RawArray; |
36 class RawBigint; | 36 class RawBigint; |
37 class RawBoundedType; | 37 class RawBoundedType; |
| 38 class RawMixinAppType; |
38 class RawClass; | 39 class RawClass; |
39 class RawContext; | 40 class RawContext; |
40 class RawDouble; | 41 class RawDouble; |
41 class RawField; | 42 class RawField; |
42 class RawClosureData; | 43 class RawClosureData; |
43 class RawRedirectionData; | 44 class RawRedirectionData; |
44 class RawFunction; | 45 class RawFunction; |
45 class RawGrowableObjectArray; | 46 class RawGrowableObjectArray; |
46 class RawFloat32x4; | 47 class RawFloat32x4; |
47 class RawUint32x4; | 48 class RawUint32x4; |
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 RawTokenStream* NewTokenStream(intptr_t len); | 251 RawTokenStream* NewTokenStream(intptr_t len); |
251 RawContext* NewContext(intptr_t num_variables); | 252 RawContext* NewContext(intptr_t num_variables); |
252 RawClass* NewClass(intptr_t class_id); | 253 RawClass* NewClass(intptr_t class_id); |
253 RawMint* NewMint(int64_t value); | 254 RawMint* NewMint(int64_t value); |
254 RawBigint* NewBigint(const char* hex_string); | 255 RawBigint* NewBigint(const char* hex_string); |
255 RawDouble* NewDouble(double value); | 256 RawDouble* NewDouble(double value); |
256 RawUnresolvedClass* NewUnresolvedClass(); | 257 RawUnresolvedClass* NewUnresolvedClass(); |
257 RawType* NewType(); | 258 RawType* NewType(); |
258 RawTypeParameter* NewTypeParameter(); | 259 RawTypeParameter* NewTypeParameter(); |
259 RawBoundedType* NewBoundedType(); | 260 RawBoundedType* NewBoundedType(); |
| 261 RawMixinAppType* NewMixinAppType(); |
260 RawPatchClass* NewPatchClass(); | 262 RawPatchClass* NewPatchClass(); |
261 RawClosureData* NewClosureData(); | 263 RawClosureData* NewClosureData(); |
262 RawRedirectionData* NewRedirectionData(); | 264 RawRedirectionData* NewRedirectionData(); |
263 RawFunction* NewFunction(); | 265 RawFunction* NewFunction(); |
264 RawField* NewField(); | 266 RawField* NewField(); |
265 RawLibrary* NewLibrary(); | 267 RawLibrary* NewLibrary(); |
266 RawLibraryPrefix* NewLibraryPrefix(); | 268 RawLibraryPrefix* NewLibraryPrefix(); |
267 RawNamespace* NewNamespace(); | 269 RawNamespace* NewNamespace(); |
268 RawScript* NewScript(); | 270 RawScript* NewScript(); |
269 RawLiteralToken* NewLiteralToken(); | 271 RawLiteralToken* NewLiteralToken(); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 AbstractTypeArguments& type_arguments_; // Temporary type argument handle. | 326 AbstractTypeArguments& type_arguments_; // Temporary type argument handle. |
325 Array& tokens_; // Temporary tokens handle. | 327 Array& tokens_; // Temporary tokens handle. |
326 TokenStream& stream_; // Temporary token stream handle. | 328 TokenStream& stream_; // Temporary token stream handle. |
327 ExternalUint8Array& data_; // Temporary stream data handle. | 329 ExternalUint8Array& data_; // Temporary stream data handle. |
328 UnhandledException& error_; // Error handle. | 330 UnhandledException& error_; // Error handle. |
329 GrowableArray<BackRefNode*> backward_references_; | 331 GrowableArray<BackRefNode*> backward_references_; |
330 | 332 |
331 friend class ApiError; | 333 friend class ApiError; |
332 friend class Array; | 334 friend class Array; |
333 friend class BoundedType; | 335 friend class BoundedType; |
| 336 friend class MixinAppType; |
334 friend class Class; | 337 friend class Class; |
335 friend class Context; | 338 friend class Context; |
336 friend class ContextScope; | 339 friend class ContextScope; |
337 friend class Field; | 340 friend class Field; |
338 friend class ClosureData; | 341 friend class ClosureData; |
339 friend class RedirectionData; | 342 friend class RedirectionData; |
340 friend class Function; | 343 friend class Function; |
341 friend class GrowableObjectArray; | 344 friend class GrowableObjectArray; |
342 friend class ImmutableArray; | 345 friend class ImmutableArray; |
343 friend class InstantiatedTypeArguments; | 346 friend class InstantiatedTypeArguments; |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
601 private: | 604 private: |
602 SnapshotWriter* writer_; | 605 SnapshotWriter* writer_; |
603 bool as_references_; | 606 bool as_references_; |
604 | 607 |
605 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 608 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
606 }; | 609 }; |
607 | 610 |
608 } // namespace dart | 611 } // namespace dart |
609 | 612 |
610 #endif // VM_SNAPSHOT_H_ | 613 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |