| 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 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(_runExtension, "_runExtension") \ | 399 V(_runExtension, "_runExtension") \ |
| 400 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ | 400 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ |
| 401 V(DartLibrary, "dart.library.") \ | 401 V(DartLibrary, "dart.library.") \ |
| 402 V(DartLibraryMirrors, "dart.library.mirrors") \ | 402 V(DartLibraryMirrors, "dart.library.mirrors") \ |
| 403 V(_name, "_name") \ | 403 V(_name, "_name") \ |
| 404 V(_classRangeCheck, "_classRangeCheck") \ | 404 V(_classRangeCheck, "_classRangeCheck") \ |
| 405 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ | 405 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ |
| 406 V(GetRuntimeType, "get:runtimeType") \ | |
| 407 V(HaveSameRuntimeType, "_haveSameRuntimeType") \ | |
| 408 | 406 |
| 409 | 407 |
| 410 // Contains a list of frequently used strings in a canonicalized form. This | 408 // Contains a list of frequently used strings in a canonicalized form. This |
| 411 // list is kept in the vm_isolate in order to share the copy across isolates | 409 // list is kept in the vm_isolate in order to share the copy across isolates |
| 412 // without having to maintain copies in each isolate. | 410 // without having to maintain copies in each isolate. |
| 413 class Symbols : public AllStatic { | 411 class Symbols : public AllStatic { |
| 414 public: | 412 public: |
| 415 enum { kMaxOneCharCodeSymbol = 0xFF }; | 413 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 416 | 414 |
| 417 // List of strings that are pre created in the vm isolate. | 415 // List of strings that are pre created in the vm isolate. |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 friend class Serializer; | 689 friend class Serializer; |
| 692 friend class Deserializer; | 690 friend class Deserializer; |
| 693 friend class ApiMessageReader; | 691 friend class ApiMessageReader; |
| 694 | 692 |
| 695 DISALLOW_COPY_AND_ASSIGN(Symbols); | 693 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 696 }; | 694 }; |
| 697 | 695 |
| 698 } // namespace dart | 696 } // namespace dart |
| 699 | 697 |
| 700 #endif // VM_SYMBOLS_H_ | 698 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |