| 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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 // of various object types. These are used when reading a | 245 // of various object types. These are used when reading a |
| 246 // full snapshot. | 246 // full snapshot. |
| 247 RawArray* NewArray(intptr_t len); | 247 RawArray* NewArray(intptr_t len); |
| 248 RawImmutableArray* NewImmutableArray(intptr_t len); | 248 RawImmutableArray* NewImmutableArray(intptr_t len); |
| 249 RawOneByteString* NewOneByteString(intptr_t len); | 249 RawOneByteString* NewOneByteString(intptr_t len); |
| 250 RawTwoByteString* NewTwoByteString(intptr_t len); | 250 RawTwoByteString* NewTwoByteString(intptr_t len); |
| 251 RawTypeArguments* NewTypeArguments(intptr_t len); | 251 RawTypeArguments* NewTypeArguments(intptr_t len); |
| 252 RawTokenStream* NewTokenStream(intptr_t len); | 252 RawTokenStream* NewTokenStream(intptr_t len); |
| 253 RawContext* NewContext(intptr_t num_variables); | 253 RawContext* NewContext(intptr_t num_variables); |
| 254 RawClass* NewClass(intptr_t class_id); | 254 RawClass* NewClass(intptr_t class_id); |
| 255 RawInstance* NewInstance(); |
| 255 RawMint* NewMint(int64_t value); | 256 RawMint* NewMint(int64_t value); |
| 256 RawBigint* NewBigint(const char* hex_string); | 257 RawBigint* NewBigint(const char* hex_string); |
| 257 RawDouble* NewDouble(double value); | 258 RawDouble* NewDouble(double value); |
| 258 RawUnresolvedClass* NewUnresolvedClass(); | 259 RawUnresolvedClass* NewUnresolvedClass(); |
| 259 RawType* NewType(); | 260 RawType* NewType(); |
| 260 RawTypeRef* NewTypeRef(); | 261 RawTypeRef* NewTypeRef(); |
| 261 RawTypeParameter* NewTypeParameter(); | 262 RawTypeParameter* NewTypeParameter(); |
| 262 RawBoundedType* NewBoundedType(); | 263 RawBoundedType* NewBoundedType(); |
| 263 RawMixinAppType* NewMixinAppType(); | 264 RawMixinAppType* NewMixinAppType(); |
| 264 RawPatchClass* NewPatchClass(); | 265 RawPatchClass* NewPatchClass(); |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 617 private: | 618 private: |
| 618 SnapshotWriter* writer_; | 619 SnapshotWriter* writer_; |
| 619 bool as_references_; | 620 bool as_references_; |
| 620 | 621 |
| 621 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 622 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
| 622 }; | 623 }; |
| 623 | 624 |
| 624 } // namespace dart | 625 } // namespace dart |
| 625 | 626 |
| 626 #endif // VM_SNAPSHOT_H_ | 627 #endif // VM_SNAPSHOT_H_ |
| OLD | NEW |