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

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

Issue 1377543003: Clean up serialization of RawFunction, RawCode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code-review Created 5 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
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/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 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 bool snapshot_code_; 982 bool snapshot_code_;
983 bool vm_isolate_is_symbolic_; 983 bool vm_isolate_is_symbolic_;
984 984
985 friend class FullSnapshotWriter; 985 friend class FullSnapshotWriter;
986 friend class RawArray; 986 friend class RawArray;
987 friend class RawClass; 987 friend class RawClass;
988 friend class RawClosureData; 988 friend class RawClosureData;
989 friend class RawContextScope; 989 friend class RawContextScope;
990 friend class RawExceptionHandlers; 990 friend class RawExceptionHandlers;
991 friend class RawField; 991 friend class RawField;
992 friend class RawFunction;
992 friend class RawGrowableObjectArray; 993 friend class RawGrowableObjectArray;
993 friend class RawImmutableArray; 994 friend class RawImmutableArray;
994 friend class RawInstructions; 995 friend class RawInstructions;
995 friend class RawJSRegExp; 996 friend class RawJSRegExp;
996 friend class RawLibrary; 997 friend class RawLibrary;
997 friend class RawLinkedHashMap; 998 friend class RawLinkedHashMap;
998 friend class RawLiteralToken; 999 friend class RawLiteralToken;
999 friend class RawLocalVarDescriptors; 1000 friend class RawLocalVarDescriptors;
1000 friend class RawMirrorReference; 1001 friend class RawMirrorReference;
1001 friend class RawObjectPool; 1002 friend class RawObjectPool;
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1125 private: 1126 private:
1126 SnapshotWriter* writer_; 1127 SnapshotWriter* writer_;
1127 bool as_references_; 1128 bool as_references_;
1128 1129
1129 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor); 1130 DISALLOW_COPY_AND_ASSIGN(SnapshotWriterVisitor);
1130 }; 1131 };
1131 1132
1132 } // namespace dart 1133 } // namespace dart
1133 1134
1134 #endif // VM_SNAPSHOT_H_ 1135 #endif // VM_SNAPSHOT_H_
OLDNEW
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698