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