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

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

Issue 2032153003: Use clustered serialization for full snapshots. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: round1 Created 4 years, 6 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_SYMBOLS_H_ 5 #ifndef VM_SYMBOLS_H_
6 #define VM_SYMBOLS_H_ 6 #define VM_SYMBOLS_H_
7 7
8 #include "vm/growable_array.h" 8 #include "vm/growable_array.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/snapshot_ids.h" 10 #include "vm/snapshot_ids.h"
(...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 // used in generated dart code for direct access to these objects. 669 // used in generated dart code for direct access to these objects.
670 static RawString* predefined_[kNumberOfOneCharCodeSymbols]; 670 static RawString* predefined_[kNumberOfOneCharCodeSymbols];
671 671
672 // List of handles for predefined symbols. 672 // List of handles for predefined symbols.
673 static String* symbol_handles_[kMaxPredefinedId]; 673 static String* symbol_handles_[kMaxPredefinedId];
674 674
675 friend class Dart; 675 friend class Dart;
676 friend class String; 676 friend class String;
677 friend class SnapshotReader; 677 friend class SnapshotReader;
678 friend class SnapshotWriter; 678 friend class SnapshotWriter;
679 friend class Serializer;
680 friend class Deserializer;
679 friend class ApiMessageReader; 681 friend class ApiMessageReader;
680 682
681 DISALLOW_COPY_AND_ASSIGN(Symbols); 683 DISALLOW_COPY_AND_ASSIGN(Symbols);
682 }; 684 };
683 685
684 } // namespace dart 686 } // namespace dart
685 687
686 #endif // VM_SYMBOLS_H_ 688 #endif // VM_SYMBOLS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698