| 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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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(PrependTypeArguments, "_prependTypeArguments") \ | 437 V(PrependTypeArguments, "_prependTypeArguments") \ |
| 438 V(DartDeveloperCausalAsyncStacks, "dart.developer.causal_async_stacks") \ | 438 V(DartDeveloperCausalAsyncStacks, "dart.developer.causal_async_stacks") \ |
| 439 V(_AsyncStarListenHelper, "_asyncStarListenHelper") \ | 439 V(_AsyncStarListenHelper, "_asyncStarListenHelper") \ |
| 440 V(GrowRegExpStack, "_growRegExpStack") | 440 V(GrowRegExpStack, "_growRegExpStack") |
| 441 | 441 |
| 442 | |
| 443 // 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 |
| 444 // 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 |
| 445 // without having to maintain copies in each isolate. | 444 // without having to maintain copies in each isolate. |
| 446 class Symbols : public AllStatic { | 445 class Symbols : public AllStatic { |
| 447 public: | 446 public: |
| 448 enum { kMaxOneCharCodeSymbol = 0xFF }; | 447 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 449 | 448 |
| 450 // List of strings that are pre created in the vm isolate. | 449 // List of strings that are pre created in the vm isolate. |
| 451 enum SymbolId { | 450 enum SymbolId { |
| 452 // clang-format off | 451 // clang-format off |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 friend class Serializer; | 695 friend class Serializer; |
| 697 friend class Deserializer; | 696 friend class Deserializer; |
| 698 friend class ApiMessageReader; | 697 friend class ApiMessageReader; |
| 699 | 698 |
| 700 DISALLOW_COPY_AND_ASSIGN(Symbols); | 699 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 701 }; | 700 }; |
| 702 | 701 |
| 703 } // namespace dart | 702 } // namespace dart |
| 704 | 703 |
| 705 #endif // RUNTIME_VM_SYMBOLS_H_ | 704 #endif // RUNTIME_VM_SYMBOLS_H_ |
| OLD | NEW |