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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 V(start_index_param, ":start_index_param") \ | 394 V(start_index_param, ":start_index_param") \ |
395 V(clear, "clear") \ | 395 V(clear, "clear") \ |
396 V(_wordCharacterMap, "_wordCharacterMap") \ | 396 V(_wordCharacterMap, "_wordCharacterMap") \ |
397 V(print, "print") \ | 397 V(print, "print") \ |
398 V(last, "last") \ | 398 V(last, "last") \ |
399 V(removeLast, "removeLast") \ | 399 V(removeLast, "removeLast") \ |
400 V(add, "add") \ | 400 V(add, "add") \ |
401 V(ConstructorClosurePrefix, "new#") \ | 401 V(ConstructorClosurePrefix, "new#") \ |
402 V(_runExtension, "_runExtension") \ | 402 V(_runExtension, "_runExtension") \ |
403 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ | 403 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ |
| 404 V(DartLibrary, "dart.library.") \ |
404 | 405 |
405 | 406 |
406 // Contains a list of frequently used strings in a canonicalized form. This | 407 // Contains a list of frequently used strings in a canonicalized form. This |
407 // list is kept in the vm_isolate in order to share the copy across isolates | 408 // list is kept in the vm_isolate in order to share the copy across isolates |
408 // without having to maintain copies in each isolate. | 409 // without having to maintain copies in each isolate. |
409 class Symbols : public AllStatic { | 410 class Symbols : public AllStatic { |
410 public: | 411 public: |
411 enum { kMaxOneCharCodeSymbol = 0xFF }; | 412 enum { kMaxOneCharCodeSymbol = 0xFF }; |
412 | 413 |
413 // List of strings that are pre created in the vm isolate. | 414 // List of strings that are pre created in the vm isolate. |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
656 friend class SnapshotReader; | 657 friend class SnapshotReader; |
657 friend class SnapshotWriter; | 658 friend class SnapshotWriter; |
658 friend class ApiMessageReader; | 659 friend class ApiMessageReader; |
659 | 660 |
660 DISALLOW_COPY_AND_ASSIGN(Symbols); | 661 DISALLOW_COPY_AND_ASSIGN(Symbols); |
661 }; | 662 }; |
662 | 663 |
663 } // namespace dart | 664 } // namespace dart |
664 | 665 |
665 #endif // VM_SYMBOLS_H_ | 666 #endif // VM_SYMBOLS_H_ |
OLD | NEW |