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