| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |