| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 V(_LocalMethodMirror, "_LocalMethodMirror") \ | 290 V(_LocalMethodMirror, "_LocalMethodMirror") \ |
| 291 V(_LocalVariableMirror, "_LocalVariableMirror") \ | 291 V(_LocalVariableMirror, "_LocalVariableMirror") \ |
| 292 V(_LocalParameterMirror, "_LocalParameterMirror") \ | 292 V(_LocalParameterMirror, "_LocalParameterMirror") \ |
| 293 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ | 293 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ |
| 294 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ | 294 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ |
| 295 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ | 295 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ |
| 296 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ | 296 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ |
| 297 V(hashCode, "get:hashCode") \ | 297 V(hashCode, "get:hashCode") \ |
| 298 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 298 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 299 V(OptimizedOut, "<optimized out>") \ | 299 V(OptimizedOut, "<optimized out>") \ |
| 300 V(Uninitialized, "<uninitialized>") \ |
| 300 V(ClassId, "get:_classId") \ | 301 V(ClassId, "get:_classId") \ |
| 301 | 302 |
| 302 | 303 |
| 303 // Contains a list of frequently used strings in a canonicalized form. This | 304 // Contains a list of frequently used strings in a canonicalized form. This |
| 304 // list is kept in the vm_isolate in order to share the copy across isolates | 305 // list is kept in the vm_isolate in order to share the copy across isolates |
| 305 // without having to maintain copies in each isolate. | 306 // without having to maintain copies in each isolate. |
| 306 class Symbols : public AllStatic { | 307 class Symbols : public AllStatic { |
| 307 public: | 308 public: |
| 308 enum { kMaxOneCharCodeSymbol = 0xFF }; | 309 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 309 | 310 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 509 friend class SnapshotReader; | 510 friend class SnapshotReader; |
| 510 friend class SnapshotWriter; | 511 friend class SnapshotWriter; |
| 511 friend class ApiMessageReader; | 512 friend class ApiMessageReader; |
| 512 | 513 |
| 513 DISALLOW_COPY_AND_ASSIGN(Symbols); | 514 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 514 }; | 515 }; |
| 515 | 516 |
| 516 } // namespace dart | 517 } // namespace dart |
| 517 | 518 |
| 518 #endif // VM_SYMBOLS_H_ | 519 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |