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

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

Issue 10832199: Add a weak property type to the virtual machine. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: minor clean-up 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
« runtime/vm/scavenger.cc ('K') | « runtime/vm/scavenger.cc ('k') | no next file » | 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 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 friend class JSRegExp; 293 friend class JSRegExp;
294 friend class Library; 294 friend class Library;
295 friend class LibraryPrefix; 295 friend class LibraryPrefix;
296 friend class LiteralToken; 296 friend class LiteralToken;
297 friend class Script; 297 friend class Script;
298 friend class TokenStream; 298 friend class TokenStream;
299 friend class Type; 299 friend class Type;
300 friend class TypeArguments; 300 friend class TypeArguments;
301 friend class TypeParameter; 301 friend class TypeParameter;
302 friend class UnresolvedClass; 302 friend class UnresolvedClass;
303 friend class WeakProperty;
303 DISALLOW_COPY_AND_ASSIGN(SnapshotReader); 304 DISALLOW_COPY_AND_ASSIGN(SnapshotReader);
304 }; 305 };
305 306
306 307
307 class BaseWriter { 308 class BaseWriter {
308 public: 309 public:
309 // Size of the snapshot. 310 // Size of the snapshot.
310 intptr_t BytesWritten() const { return stream_.bytes_written(); } 311 intptr_t BytesWritten() const { return stream_.bytes_written(); }
311 312
312 // Writes raw data to the stream (basic type). 313 // Writes raw data to the stream (basic type).
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 private: 504 private:
504 SnapshotWriter* writer_; 505 SnapshotWriter* writer_;
505 bool as_references_; 506 bool as_references_;
506 507
507 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 508 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
508 }; 509 };
509 510
510 } // namespace dart 511 } // namespace dart
511 512
512 #endif // VM_SNAPSHOT_H_ 513 #endif // VM_SNAPSHOT_H_
OLDNEW
« runtime/vm/scavenger.cc ('K') | « runtime/vm/scavenger.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698