| 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/object.h" | 8 #include "vm/object.h" |
| 9 #include "vm/snapshot_ids.h" | 9 #include "vm/snapshot_ids.h" |
| 10 | 10 |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 V(_SourceLocation, "_SourceLocation") \ | 311 V(_SourceLocation, "_SourceLocation") \ |
| 312 V(hashCode, "get:hashCode") \ | 312 V(hashCode, "get:hashCode") \ |
| 313 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 313 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 314 V(OptimizedOut, "<optimized out>") \ | 314 V(OptimizedOut, "<optimized out>") \ |
| 315 V(NotInitialized, "<not initialized>") \ | 315 V(NotInitialized, "<not initialized>") \ |
| 316 V(ClassId, "get:_classId") \ | 316 V(ClassId, "get:_classId") \ |
| 317 V(AllocationStubFor, "Allocation stub for ") \ | 317 V(AllocationStubFor, "Allocation stub for ") \ |
| 318 V(TempParam, ":temp_param") \ | 318 V(TempParam, ":temp_param") \ |
| 319 V(UserTag, "UserTag") \ | 319 V(UserTag, "UserTag") \ |
| 320 V(_UserTag, "_UserTag") \ | 320 V(_UserTag, "_UserTag") \ |
| 321 V(StubPrefix, "[Stub] ") \ |
| 321 | 322 |
| 322 | 323 |
| 323 // Contains a list of frequently used strings in a canonicalized form. This | 324 // Contains a list of frequently used strings in a canonicalized form. This |
| 324 // list is kept in the vm_isolate in order to share the copy across isolates | 325 // list is kept in the vm_isolate in order to share the copy across isolates |
| 325 // without having to maintain copies in each isolate. | 326 // without having to maintain copies in each isolate. |
| 326 class Symbols : public AllStatic { | 327 class Symbols : public AllStatic { |
| 327 public: | 328 public: |
| 328 enum { kMaxOneCharCodeSymbol = 0xFF }; | 329 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 329 | 330 |
| 330 // List of strings that are pre created in the vm isolate. | 331 // List of strings that are pre created in the vm isolate. |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 friend class SnapshotReader; | 530 friend class SnapshotReader; |
| 530 friend class SnapshotWriter; | 531 friend class SnapshotWriter; |
| 531 friend class ApiMessageReader; | 532 friend class ApiMessageReader; |
| 532 | 533 |
| 533 DISALLOW_COPY_AND_ASSIGN(Symbols); | 534 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 534 }; | 535 }; |
| 535 | 536 |
| 536 } // namespace dart | 537 } // namespace dart |
| 537 | 538 |
| 538 #endif // VM_SYMBOLS_H_ | 539 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |