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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ | 281 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ |
282 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ | 282 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ |
283 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ | 283 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ |
284 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ | 284 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ |
285 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ | 285 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ |
286 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ | 286 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ |
287 V(_LocalTypedefMirrorImpl, "_LocalTypedefMirrorImpl") \ | 287 V(_LocalTypedefMirrorImpl, "_LocalTypedefMirrorImpl") \ |
288 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ | 288 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ |
289 V(hashCode, "get:hashCode") \ | 289 V(hashCode, "get:hashCode") \ |
290 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 290 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 291 V(OptimizedOut, "<optimized out>") \ |
291 | 292 |
292 | 293 |
293 // Contains a list of frequently used strings in a canonicalized form. This | 294 // Contains a list of frequently used strings in a canonicalized form. This |
294 // list is kept in the vm_isolate in order to share the copy across isolates | 295 // list is kept in the vm_isolate in order to share the copy across isolates |
295 // without having to maintain copies in each isolate. | 296 // without having to maintain copies in each isolate. |
296 class Symbols : public AllStatic { | 297 class Symbols : public AllStatic { |
297 public: | 298 public: |
298 enum { kMaxOneCharCodeSymbol = 0xFF }; | 299 enum { kMaxOneCharCodeSymbol = 0xFF }; |
299 | 300 |
300 // List of strings that are pre created in the vm isolate. | 301 // List of strings that are pre created in the vm isolate. |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 friend class SnapshotReader; | 490 friend class SnapshotReader; |
490 friend class SnapshotWriter; | 491 friend class SnapshotWriter; |
491 friend class ApiMessageReader; | 492 friend class ApiMessageReader; |
492 | 493 |
493 DISALLOW_COPY_AND_ASSIGN(Symbols); | 494 DISALLOW_COPY_AND_ASSIGN(Symbols); |
494 }; | 495 }; |
495 | 496 |
496 } // namespace dart | 497 } // namespace dart |
497 | 498 |
498 #endif // VM_SYMBOLS_H_ | 499 #endif // VM_SYMBOLS_H_ |
OLD | NEW |