| 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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 V(result, ":result") \ | 382 V(result, ":result") \ |
| 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 | 393 |
| 393 | 394 |
| 394 // Contains a list of frequently used strings in a canonicalized form. This | 395 // Contains a list of frequently used strings in a canonicalized form. This |
| 395 // list is kept in the vm_isolate in order to share the copy across isolates | 396 // list is kept in the vm_isolate in order to share the copy across isolates |
| 396 // without having to maintain copies in each isolate. | 397 // without having to maintain copies in each isolate. |
| 397 class Symbols : public AllStatic { | 398 class Symbols : public AllStatic { |
| 398 public: | 399 public: |
| 399 enum { kMaxOneCharCodeSymbol = 0xFF }; | 400 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 400 | 401 |
| 401 // List of strings that are pre created in the vm isolate. | 402 // List of strings that are pre created in the vm isolate. |
| (...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 630 friend class SnapshotReader; | 631 friend class SnapshotReader; |
| 631 friend class SnapshotWriter; | 632 friend class SnapshotWriter; |
| 632 friend class ApiMessageReader; | 633 friend class ApiMessageReader; |
| 633 | 634 |
| 634 DISALLOW_COPY_AND_ASSIGN(Symbols); | 635 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 635 }; | 636 }; |
| 636 | 637 |
| 637 } // namespace dart | 638 } // namespace dart |
| 638 | 639 |
| 639 #endif // VM_SYMBOLS_H_ | 640 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |