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/object.h" | 8 #include "vm/object.h" |
9 #include "vm/snapshot_ids.h" | 9 #include "vm/snapshot_ids.h" |
10 | 10 |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 V(position_registers, ":position_registers") \ | 383 V(position_registers, ":position_registers") \ |
384 V(string_param, ":string_param") \ | 384 V(string_param, ":string_param") \ |
385 V(start_index_param, ":start_index_param") \ | 385 V(start_index_param, ":start_index_param") \ |
386 V(clear, "clear") \ | 386 V(clear, "clear") \ |
387 V(_wordCharacterMap, "_wordCharacterMap") \ | 387 V(_wordCharacterMap, "_wordCharacterMap") \ |
388 V(print, "print") \ | 388 V(print, "print") \ |
389 V(last, "last") \ | 389 V(last, "last") \ |
390 V(removeLast, "removeLast") \ | 390 V(removeLast, "removeLast") \ |
391 V(add, "add") \ | 391 V(add, "add") \ |
392 V(ConstructorClosurePrefix, "new#") \ | 392 V(ConstructorClosurePrefix, "new#") \ |
| 393 V(_extensionExists, "_extensionExists") \ |
| 394 V(_invokeExtension, "_invokeExtension") \ |
393 | 395 |
394 | 396 |
395 // Contains a list of frequently used strings in a canonicalized form. This | 397 // Contains a list of frequently used strings in a canonicalized form. This |
396 // list is kept in the vm_isolate in order to share the copy across isolates | 398 // list is kept in the vm_isolate in order to share the copy across isolates |
397 // without having to maintain copies in each isolate. | 399 // without having to maintain copies in each isolate. |
398 class Symbols : public AllStatic { | 400 class Symbols : public AllStatic { |
399 public: | 401 public: |
400 enum { kMaxOneCharCodeSymbol = 0xFF }; | 402 enum { kMaxOneCharCodeSymbol = 0xFF }; |
401 | 403 |
402 // List of strings that are pre created in the vm isolate. | 404 // List of strings that are pre created in the vm isolate. |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 friend class SnapshotReader; | 633 friend class SnapshotReader; |
632 friend class SnapshotWriter; | 634 friend class SnapshotWriter; |
633 friend class ApiMessageReader; | 635 friend class ApiMessageReader; |
634 | 636 |
635 DISALLOW_COPY_AND_ASSIGN(Symbols); | 637 DISALLOW_COPY_AND_ASSIGN(Symbols); |
636 }; | 638 }; |
637 | 639 |
638 } // namespace dart | 640 } // namespace dart |
639 | 641 |
640 #endif // VM_SYMBOLS_H_ | 642 #endif // VM_SYMBOLS_H_ |
OLD | NEW |