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

Side by Side Diff: vm/snapshot.h

Issue 11087070: - Get rid of RawClosure class and use RawInstance for closures. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 2 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
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