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

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

Issue 2153143002: Rework how enums are implemented and reloaded (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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/parser.cc ('k') | tests/isolate/isolate.status » ('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_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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 V(_wordCharacterMap, "_wordCharacterMap") \ 389 V(_wordCharacterMap, "_wordCharacterMap") \
390 V(print, "print") \ 390 V(print, "print") \
391 V(last, "last") \ 391 V(last, "last") \
392 V(removeLast, "removeLast") \ 392 V(removeLast, "removeLast") \
393 V(add, "add") \ 393 V(add, "add") \
394 V(ConstructorClosurePrefix, "new#") \ 394 V(ConstructorClosurePrefix, "new#") \
395 V(_runExtension, "_runExtension") \ 395 V(_runExtension, "_runExtension") \
396 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ 396 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \
397 V(DartLibrary, "dart.library.") \ 397 V(DartLibrary, "dart.library.") \
398 V(DartLibraryMirrors, "dart.library.mirrors") \ 398 V(DartLibraryMirrors, "dart.library.mirrors") \
399 V(_name, "_name") \
399 400
400 401
401 // Contains a list of frequently used strings in a canonicalized form. This 402 // Contains a list of frequently used strings in a canonicalized form. This
402 // list is kept in the vm_isolate in order to share the copy across isolates 403 // list is kept in the vm_isolate in order to share the copy across isolates
403 // without having to maintain copies in each isolate. 404 // without having to maintain copies in each isolate.
404 class Symbols : public AllStatic { 405 class Symbols : public AllStatic {
405 public: 406 public:
406 enum { kMaxOneCharCodeSymbol = 0xFF }; 407 enum { kMaxOneCharCodeSymbol = 0xFF };
407 408
408 // List of strings that are pre created in the vm isolate. 409 // List of strings that are pre created in the vm isolate.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 friend class Serializer; 683 friend class Serializer;
683 friend class Deserializer; 684 friend class Deserializer;
684 friend class ApiMessageReader; 685 friend class ApiMessageReader;
685 686
686 DISALLOW_COPY_AND_ASSIGN(Symbols); 687 DISALLOW_COPY_AND_ASSIGN(Symbols);
687 }; 688 };
688 689
689 } // namespace dart 690 } // namespace dart
690 691
691 #endif // VM_SYMBOLS_H_ 692 #endif // VM_SYMBOLS_H_
OLDNEW
« no previous file with comments | « runtime/vm/parser.cc ('k') | tests/isolate/isolate.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698