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