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

Side by Side Diff: vm/snapshot.h

Issue 11275336: Do not try to write ContextScope into a snapshot. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 1 month 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') | 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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 Snapshot::Kind kind_; 494 Snapshot::Kind kind_;
495 ObjectStore* object_store_; // Object store for common classes. 495 ObjectStore* object_store_; // Object store for common classes.
496 ClassTable* class_table_; // Class table for the class index to class lookup. 496 ClassTable* class_table_; // Class table for the class index to class lookup.
497 GrowableArray<ForwardObjectNode*> forward_list_; 497 GrowableArray<ForwardObjectNode*> forward_list_;
498 Exceptions::ExceptionType exception_type_; // Exception type. 498 Exceptions::ExceptionType exception_type_; // Exception type.
499 const char* exception_msg_; // Message associated with exception. 499 const char* exception_msg_; // Message associated with exception.
500 LanguageError& error_; // Error handle. 500 LanguageError& error_; // Error handle.
501 501
502 friend class RawArray; 502 friend class RawArray;
503 friend class RawClass; 503 friend class RawClass;
504 friend class RawClosureData;
504 friend class RawGrowableObjectArray; 505 friend class RawGrowableObjectArray;
505 friend class RawImmutableArray; 506 friend class RawImmutableArray;
506 friend class RawJSRegExp; 507 friend class RawJSRegExp;
507 friend class RawLibrary; 508 friend class RawLibrary;
508 friend class RawLiteralToken; 509 friend class RawLiteralToken;
509 friend class RawScript; 510 friend class RawScript;
510 friend class RawTokenStream; 511 friend class RawTokenStream;
511 friend class RawTypeArguments; 512 friend class RawTypeArguments;
512 friend class SnapshotWriterVisitor; 513 friend class SnapshotWriterVisitor;
513 DISALLOW_COPY_AND_ASSIGN(SnapshotWriter); 514 DISALLOW_COPY_AND_ASSIGN(SnapshotWriter);
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 private: 587 private:
587 SnapshotWriter* writer_; 588 SnapshotWriter* writer_;
588 bool as_references_; 589 bool as_references_;
589 590
590 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 591 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
591 }; 592 };
592 593
593 } // namespace dart 594 } // namespace dart
594 595
595 #endif // VM_SNAPSHOT_H_ 596 #endif // VM_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « vm/raw_object_snapshot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698