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 RUNTIME_VM_SYMBOLS_H_ | 5 #ifndef RUNTIME_VM_SYMBOLS_H_ |
6 #define RUNTIME_VM_SYMBOLS_H_ | 6 #define RUNTIME_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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 V(DartLibrary, "dart.library.") \ | 428 V(DartLibrary, "dart.library.") \ |
429 V(DartLibraryMirrors, "dart.library.mirrors") \ | 429 V(DartLibraryMirrors, "dart.library.mirrors") \ |
430 V(_name, "_name") \ | 430 V(_name, "_name") \ |
431 V(_classRangeCheck, "_classRangeCheck") \ | 431 V(_classRangeCheck, "_classRangeCheck") \ |
432 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ | 432 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ |
433 V(_classRangeAssert, "_classRangeAssert") \ | 433 V(_classRangeAssert, "_classRangeAssert") \ |
434 V(_classIdEqualsAssert, "_classIdEqualsAssert") \ | 434 V(_classIdEqualsAssert, "_classIdEqualsAssert") \ |
435 V(GetRuntimeType, "get:runtimeType") \ | 435 V(GetRuntimeType, "get:runtimeType") \ |
436 V(HaveSameRuntimeType, "_haveSameRuntimeType") \ | 436 V(HaveSameRuntimeType, "_haveSameRuntimeType") \ |
437 V(DartDeveloperCausalAsyncStacks, "dart.developer.causal_async_stacks") \ | 437 V(DartDeveloperCausalAsyncStacks, "dart.developer.causal_async_stacks") \ |
438 V(_AsyncStarListenHelper, "_asyncStarListenHelper") | 438 V(_AsyncStarListenHelper, "_asyncStarListenHelper") \ |
| 439 V(GrowRegExpStack, "_growRegExpStack") |
439 | 440 |
440 | 441 |
441 // Contains a list of frequently used strings in a canonicalized form. This | 442 // Contains a list of frequently used strings in a canonicalized form. This |
442 // list is kept in the vm_isolate in order to share the copy across isolates | 443 // list is kept in the vm_isolate in order to share the copy across isolates |
443 // without having to maintain copies in each isolate. | 444 // without having to maintain copies in each isolate. |
444 class Symbols : public AllStatic { | 445 class Symbols : public AllStatic { |
445 public: | 446 public: |
446 enum { kMaxOneCharCodeSymbol = 0xFF }; | 447 enum { kMaxOneCharCodeSymbol = 0xFF }; |
447 | 448 |
448 // List of strings that are pre created in the vm isolate. | 449 // List of strings that are pre created in the vm isolate. |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 friend class Serializer; | 695 friend class Serializer; |
695 friend class Deserializer; | 696 friend class Deserializer; |
696 friend class ApiMessageReader; | 697 friend class ApiMessageReader; |
697 | 698 |
698 DISALLOW_COPY_AND_ASSIGN(Symbols); | 699 DISALLOW_COPY_AND_ASSIGN(Symbols); |
699 }; | 700 }; |
700 | 701 |
701 } // namespace dart | 702 } // namespace dart |
702 | 703 |
703 #endif // RUNTIME_VM_SYMBOLS_H_ | 704 #endif // RUNTIME_VM_SYMBOLS_H_ |
OLD | NEW |