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 25 matching lines...) Expand all Loading... |
36 class MegamorphicCache; | 36 class MegamorphicCache; |
37 class PageSpace; | 37 class PageSpace; |
38 class RawApiError; | 38 class RawApiError; |
39 class RawArray; | 39 class RawArray; |
40 class RawBigint; | 40 class RawBigint; |
41 class RawBoundedType; | 41 class RawBoundedType; |
42 class RawCapability; | 42 class RawCapability; |
43 class RawClass; | 43 class RawClass; |
44 class RawClosure; | 44 class RawClosure; |
45 class RawClosureData; | 45 class RawClosureData; |
| 46 class RawCodeSourceMap; |
46 class RawContext; | 47 class RawContext; |
47 class RawContextScope; | 48 class RawContextScope; |
48 class RawDouble; | 49 class RawDouble; |
49 class RawExceptionHandlers; | 50 class RawExceptionHandlers; |
50 class RawField; | 51 class RawField; |
51 class RawFloat32x4; | 52 class RawFloat32x4; |
52 class RawFloat64x2; | 53 class RawFloat64x2; |
53 class RawFunction; | 54 class RawFunction; |
54 class RawFunctionType; | 55 class RawFunctionType; |
55 class RawGrowableObjectArray; | 56 class RawGrowableObjectArray; |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 RawBoundedType* NewBoundedType(); | 422 RawBoundedType* NewBoundedType(); |
422 RawMixinAppType* NewMixinAppType(); | 423 RawMixinAppType* NewMixinAppType(); |
423 RawPatchClass* NewPatchClass(); | 424 RawPatchClass* NewPatchClass(); |
424 RawClosure* NewClosure(); | 425 RawClosure* NewClosure(); |
425 RawClosureData* NewClosureData(); | 426 RawClosureData* NewClosureData(); |
426 RawRedirectionData* NewRedirectionData(); | 427 RawRedirectionData* NewRedirectionData(); |
427 RawFunction* NewFunction(); | 428 RawFunction* NewFunction(); |
428 RawCode* NewCode(intptr_t pointer_offsets_length); | 429 RawCode* NewCode(intptr_t pointer_offsets_length); |
429 RawObjectPool* NewObjectPool(intptr_t length); | 430 RawObjectPool* NewObjectPool(intptr_t length); |
430 RawPcDescriptors* NewPcDescriptors(intptr_t length); | 431 RawPcDescriptors* NewPcDescriptors(intptr_t length); |
| 432 RawCodeSourceMap* NewCodeSourceMap(intptr_t length); |
431 RawLocalVarDescriptors* NewLocalVarDescriptors(intptr_t num_entries); | 433 RawLocalVarDescriptors* NewLocalVarDescriptors(intptr_t num_entries); |
432 RawExceptionHandlers* NewExceptionHandlers(intptr_t num_entries); | 434 RawExceptionHandlers* NewExceptionHandlers(intptr_t num_entries); |
433 RawStackmap* NewStackmap(intptr_t length); | 435 RawStackmap* NewStackmap(intptr_t length); |
434 RawContextScope* NewContextScope(intptr_t num_variables); | 436 RawContextScope* NewContextScope(intptr_t num_variables); |
435 RawICData* NewICData(); | 437 RawICData* NewICData(); |
436 RawMegamorphicCache* NewMegamorphicCache(); | 438 RawMegamorphicCache* NewMegamorphicCache(); |
437 RawSubtypeTestCache* NewSubtypeTestCache(); | 439 RawSubtypeTestCache* NewSubtypeTestCache(); |
438 RawLinkedHashMap* NewLinkedHashMap(); | 440 RawLinkedHashMap* NewLinkedHashMap(); |
439 RawField* NewField(); | 441 RawField* NewField(); |
440 RawLibrary* NewLibrary(); | 442 RawLibrary* NewLibrary(); |
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 private: | 1139 private: |
1138 SnapshotWriter* writer_; | 1140 SnapshotWriter* writer_; |
1139 bool as_references_; | 1141 bool as_references_; |
1140 | 1142 |
1141 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 1143 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
1142 }; | 1144 }; |
1143 | 1145 |
1144 } // namespace dart | 1146 } // namespace dart |
1145 | 1147 |
1146 #endif // VM_SNAPSHOT_H_ | 1148 #endif // VM_SNAPSHOT_H_ |
OLD | NEW |