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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 V(print, "print") \ | 391 V(print, "print") \ |
392 V(last, "last") \ | 392 V(last, "last") \ |
393 V(removeLast, "removeLast") \ | 393 V(removeLast, "removeLast") \ |
394 V(add, "add") \ | 394 V(add, "add") \ |
395 V(ConstructorClosurePrefix, "new#") \ | 395 V(ConstructorClosurePrefix, "new#") \ |
396 V(_runExtension, "_runExtension") \ | 396 V(_runExtension, "_runExtension") \ |
397 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ | 397 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ |
398 V(DartLibrary, "dart.library.") \ | 398 V(DartLibrary, "dart.library.") \ |
399 V(DartLibraryMirrors, "dart.library.mirrors") \ | 399 V(DartLibraryMirrors, "dart.library.mirrors") \ |
400 V(_name, "_name") \ | 400 V(_name, "_name") \ |
| 401 V(_classRangeCheck, "_classRangeCheck") \ |
| 402 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ |
401 | 403 |
402 | 404 |
403 // Contains a list of frequently used strings in a canonicalized form. This | 405 // Contains a list of frequently used strings in a canonicalized form. This |
404 // list is kept in the vm_isolate in order to share the copy across isolates | 406 // list is kept in the vm_isolate in order to share the copy across isolates |
405 // without having to maintain copies in each isolate. | 407 // without having to maintain copies in each isolate. |
406 class Symbols : public AllStatic { | 408 class Symbols : public AllStatic { |
407 public: | 409 public: |
408 enum { kMaxOneCharCodeSymbol = 0xFF }; | 410 enum { kMaxOneCharCodeSymbol = 0xFF }; |
409 | 411 |
410 // List of strings that are pre created in the vm isolate. | 412 // List of strings that are pre created in the vm isolate. |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
684 friend class Serializer; | 686 friend class Serializer; |
685 friend class Deserializer; | 687 friend class Deserializer; |
686 friend class ApiMessageReader; | 688 friend class ApiMessageReader; |
687 | 689 |
688 DISALLOW_COPY_AND_ASSIGN(Symbols); | 690 DISALLOW_COPY_AND_ASSIGN(Symbols); |
689 }; | 691 }; |
690 | 692 |
691 } // namespace dart | 693 } // namespace dart |
692 | 694 |
693 #endif // VM_SYMBOLS_H_ | 695 #endif // VM_SYMBOLS_H_ |
OLD | NEW |