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

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

Issue 1323813004: Changes to prepare for allowing script snapshots to be taken after running the main application (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: fix-long-line Created 5 years, 3 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
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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 Exceptions::ExceptionType exception_type_; // Exception type. 831 Exceptions::ExceptionType exception_type_; // Exception type.
832 const char* exception_msg_; // Message associated with exception. 832 const char* exception_msg_; // Message associated with exception.
833 bool unmarked_objects_; // True if marked objects have been unmarked. 833 bool unmarked_objects_; // True if marked objects have been unmarked.
834 bool can_send_any_object_; // True if any Dart instance can be sent. 834 bool can_send_any_object_; // True if any Dart instance can be sent.
835 bool snapshot_code_; 835 bool snapshot_code_;
836 836
837 friend class FullSnapshotWriter; 837 friend class FullSnapshotWriter;
838 friend class RawArray; 838 friend class RawArray;
839 friend class RawClass; 839 friend class RawClass;
840 friend class RawClosureData; 840 friend class RawClosureData;
841 friend class RawContextScope;
841 friend class RawExceptionHandlers; 842 friend class RawExceptionHandlers;
842 friend class RawGrowableObjectArray; 843 friend class RawGrowableObjectArray;
843 friend class RawImmutableArray; 844 friend class RawImmutableArray;
844 friend class RawInstructions; 845 friend class RawInstructions;
845 friend class RawJSRegExp; 846 friend class RawJSRegExp;
846 friend class RawLibrary; 847 friend class RawLibrary;
847 friend class RawLinkedHashMap; 848 friend class RawLinkedHashMap;
848 friend class RawLiteralToken; 849 friend class RawLiteralToken;
849 friend class RawLocalVarDescriptors; 850 friend class RawLocalVarDescriptors;
850 friend class RawMirrorReference; 851 friend class RawMirrorReference;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 private: 971 private:
971 SnapshotWriter* writer_; 972 SnapshotWriter* writer_;
972 bool as_references_; 973 bool as_references_;
973 974
974 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 975 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
975 }; 976 };
976 977
977 } // namespace dart 978 } // namespace dart
978 979
979 #endif // VM_SNAPSHOT_H_ 980 #endif // VM_SNAPSHOT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698