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

Side by Side Diff: runtime/vm/snapshot.h

Issue 130563005: Fix dartbug.com/15963: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 11 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 | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698