| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 // of various object types. These are used when reading a | 236 // of various object types. These are used when reading a |
| 237 // full snapshot. | 237 // full snapshot. |
| 238 RawArray* NewArray(intptr_t len); | 238 RawArray* NewArray(intptr_t len); |
| 239 RawImmutableArray* NewImmutableArray(intptr_t len); | 239 RawImmutableArray* NewImmutableArray(intptr_t len); |
| 240 RawOneByteString* NewOneByteString(intptr_t len); | 240 RawOneByteString* NewOneByteString(intptr_t len); |
| 241 RawTwoByteString* NewTwoByteString(intptr_t len); | 241 RawTwoByteString* NewTwoByteString(intptr_t len); |
| 242 RawFourByteString* NewFourByteString(intptr_t len); | 242 RawFourByteString* NewFourByteString(intptr_t len); |
| 243 RawTypeArguments* NewTypeArguments(intptr_t len); | 243 RawTypeArguments* NewTypeArguments(intptr_t len); |
| 244 RawTokenStream* NewTokenStream(intptr_t len); | 244 RawTokenStream* NewTokenStream(intptr_t len); |
| 245 RawContext* NewContext(intptr_t num_variables); | 245 RawContext* NewContext(intptr_t num_variables); |
| 246 RawClass* NewClass(intptr_t class_id, bool is_signature_class); | 246 RawClass* NewClass(intptr_t class_id); |
| 247 RawMint* NewMint(int64_t value); | 247 RawMint* NewMint(int64_t value); |
| 248 RawBigint* NewBigint(const char* hex_string); | 248 RawBigint* NewBigint(const char* hex_string); |
| 249 RawDouble* NewDouble(double value); | 249 RawDouble* NewDouble(double value); |
| 250 RawUnresolvedClass* NewUnresolvedClass(); | 250 RawUnresolvedClass* NewUnresolvedClass(); |
| 251 RawType* NewType(); | 251 RawType* NewType(); |
| 252 RawTypeParameter* NewTypeParameter(); | 252 RawTypeParameter* NewTypeParameter(); |
| 253 RawPatchClass* NewPatchClass(); | 253 RawPatchClass* NewPatchClass(); |
| 254 RawClosureData* NewClosureData(); | 254 RawClosureData* NewClosureData(); |
| 255 RawRedirectionData* NewRedirectionData(); | 255 RawRedirectionData* NewRedirectionData(); |
| 256 RawFunction* NewFunction(); | 256 RawFunction* NewFunction(); |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 private: | 576 private: |
| 577 SnapshotWriter* writer_; | 577 SnapshotWriter* writer_; |
| 578 bool as_references_; | 578 bool as_references_; |
| 579 | 579 |
| 580 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 580 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
| 581 }; | 581 }; |
| 582 | 582 |
| 583 } // namespace dart | 583 } // namespace dart |
| 584 | 584 |
| 585 #endif // VM_SNAPSHOT_H_ | 585 #endif // VM_SNAPSHOT_H_ |
| OLD | NEW |