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 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
390 V(position_registers, ":position_registers") \ | 390 V(position_registers, ":position_registers") \ |
391 V(string_param, ":string_param") \ | 391 V(string_param, ":string_param") \ |
392 V(start_index_param, ":start_index_param") \ | 392 V(start_index_param, ":start_index_param") \ |
393 V(clear, "clear") \ | 393 V(clear, "clear") \ |
394 V(_wordCharacterMap, "_wordCharacterMap") \ | 394 V(_wordCharacterMap, "_wordCharacterMap") \ |
395 V(print, "print") \ | 395 V(print, "print") \ |
396 V(last, "last") \ | 396 V(last, "last") \ |
397 V(removeLast, "removeLast") \ | 397 V(removeLast, "removeLast") \ |
398 V(add, "add") \ | 398 V(add, "add") \ |
399 V(ConstructorClosurePrefix, "new#") \ | 399 V(ConstructorClosurePrefix, "new#") \ |
400 V(_scheduleExtension, "_scheduleExtension") \ | 400 V(_runExtension, "_runExtension") \ |
| 401 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ |
401 | 402 |
402 | 403 |
403 // Contains a list of frequently used strings in a canonicalized form. This | 404 // Contains a list of frequently used strings in a canonicalized form. This |
404 // list is kept in the vm_isolate in order to share the copy across isolates | 405 // list is kept in the vm_isolate in order to share the copy across isolates |
405 // without having to maintain copies in each isolate. | 406 // without having to maintain copies in each isolate. |
406 class Symbols : public AllStatic { | 407 class Symbols : public AllStatic { |
407 public: | 408 public: |
408 enum { kMaxOneCharCodeSymbol = 0xFF }; | 409 enum { kMaxOneCharCodeSymbol = 0xFF }; |
409 | 410 |
410 // List of strings that are pre created in the vm isolate. | 411 // List of strings that are pre created in the vm isolate. |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 friend class SnapshotReader; | 642 friend class SnapshotReader; |
642 friend class SnapshotWriter; | 643 friend class SnapshotWriter; |
643 friend class ApiMessageReader; | 644 friend class ApiMessageReader; |
644 | 645 |
645 DISALLOW_COPY_AND_ASSIGN(Symbols); | 646 DISALLOW_COPY_AND_ASSIGN(Symbols); |
646 }; | 647 }; |
647 | 648 |
648 } // namespace dart | 649 } // namespace dart |
649 | 650 |
650 #endif // VM_SYMBOLS_H_ | 651 #endif // VM_SYMBOLS_H_ |
OLD | NEW |