Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Side by Side Diff: vm/snapshot.h

Issue 10827209: Unify class ids and snapshot object ids list so that we don't have disparate and sometimes confusin… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/snapshot.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698