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(Default, "Default") \ |
321 V(StubPrefix, "[Stub] ") \ | 322 V(StubPrefix, "[Stub] ") \ |
322 | 323 |
323 | 324 |
324 // Contains a list of frequently used strings in a canonicalized form. This | 325 // Contains a list of frequently used strings in a canonicalized form. This |
325 // list is kept in the vm_isolate in order to share the copy across isolates | 326 // list is kept in the vm_isolate in order to share the copy across isolates |
326 // without having to maintain copies in each isolate. | 327 // without having to maintain copies in each isolate. |
327 class Symbols : public AllStatic { | 328 class Symbols : public AllStatic { |
328 public: | 329 public: |
329 enum { kMaxOneCharCodeSymbol = 0xFF }; | 330 enum { kMaxOneCharCodeSymbol = 0xFF }; |
330 | 331 |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 friend class SnapshotReader; | 531 friend class SnapshotReader; |
531 friend class SnapshotWriter; | 532 friend class SnapshotWriter; |
532 friend class ApiMessageReader; | 533 friend class ApiMessageReader; |
533 | 534 |
534 DISALLOW_COPY_AND_ASSIGN(Symbols); | 535 DISALLOW_COPY_AND_ASSIGN(Symbols); |
535 }; | 536 }; |
536 | 537 |
537 } // namespace dart | 538 } // namespace dart |
538 | 539 |
539 #endif // VM_SYMBOLS_H_ | 540 #endif // VM_SYMBOLS_H_ |
OLD | NEW |