| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 // of various object types. These are used when reading a | 209 // of various object types. These are used when reading a |
| 210 // full snapshot. | 210 // full snapshot. |
| 211 RawArray* NewArray(intptr_t len); | 211 RawArray* NewArray(intptr_t len); |
| 212 RawImmutableArray* NewImmutableArray(intptr_t len); | 212 RawImmutableArray* NewImmutableArray(intptr_t len); |
| 213 RawOneByteString* NewOneByteString(intptr_t len); | 213 RawOneByteString* NewOneByteString(intptr_t len); |
| 214 RawTwoByteString* NewTwoByteString(intptr_t len); | 214 RawTwoByteString* NewTwoByteString(intptr_t len); |
| 215 RawFourByteString* NewFourByteString(intptr_t len); | 215 RawFourByteString* NewFourByteString(intptr_t len); |
| 216 RawTypeArguments* NewTypeArguments(intptr_t len); | 216 RawTypeArguments* NewTypeArguments(intptr_t len); |
| 217 RawTokenStream* NewTokenStream(intptr_t len); | 217 RawTokenStream* NewTokenStream(intptr_t len); |
| 218 RawContext* NewContext(intptr_t num_variables); | 218 RawContext* NewContext(intptr_t num_variables); |
| 219 RawClass* NewClass(int value); | 219 RawClass* NewClass(intptr_t class_id, bool is_signature_class); |
| 220 RawMint* NewMint(int64_t value); | 220 RawMint* NewMint(int64_t value); |
| 221 RawBigint* NewBigint(const char* hex_string); | 221 RawBigint* NewBigint(const char* hex_string); |
| 222 RawDouble* NewDouble(double value); | 222 RawDouble* NewDouble(double value); |
| 223 RawUnresolvedClass* NewUnresolvedClass(); | 223 RawUnresolvedClass* NewUnresolvedClass(); |
| 224 RawType* NewType(); | 224 RawType* NewType(); |
| 225 RawTypeParameter* NewTypeParameter(); | 225 RawTypeParameter* NewTypeParameter(); |
| 226 RawFunction* NewFunction(); | 226 RawFunction* NewFunction(); |
| 227 RawField* NewField(); | 227 RawField* NewField(); |
| 228 RawLibrary* NewLibrary(); | 228 RawLibrary* NewLibrary(); |
| 229 RawLibraryPrefix* NewLibraryPrefix(); | 229 RawLibraryPrefix* NewLibraryPrefix(); |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 private: | 503 private: |
| 504 SnapshotWriter* writer_; | 504 SnapshotWriter* writer_; |
| 505 bool as_references_; | 505 bool as_references_; |
| 506 | 506 |
| 507 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); | 507 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); |
| 508 }; | 508 }; |
| 509 | 509 |
| 510 } // namespace dart | 510 } // namespace dart |
| 511 | 511 |
| 512 #endif // VM_SNAPSHOT_H_ | 512 #endif // VM_SNAPSHOT_H_ |
| OLD | NEW |