| 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 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 V(_LocalClassMirrorImpl, "_LocalClassMirrorImpl") \ | 277 V(_LocalClassMirrorImpl, "_LocalClassMirrorImpl") \ |
| 278 V(_LocalFunctionTypeMirrorImpl, "_LocalFunctionTypeMirrorImpl") \ | 278 V(_LocalFunctionTypeMirrorImpl, "_LocalFunctionTypeMirrorImpl") \ |
| 279 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ | 279 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ |
| 280 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ | 280 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ |
| 281 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ | 281 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ |
| 282 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ | 282 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ |
| 283 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ | 283 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ |
| 284 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ | 284 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ |
| 285 V(_LocalTypedefMirrorImpl, "_LocalTypedefMirrorImpl") \ | 285 V(_LocalTypedefMirrorImpl, "_LocalTypedefMirrorImpl") \ |
| 286 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ | 286 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ |
| 287 V(hashCode, "get:hashCode") \ |
| 287 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 288 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 288 | 289 |
| 289 | 290 |
| 290 // Contains a list of frequently used strings in a canonicalized form. This | 291 // Contains a list of frequently used strings in a canonicalized form. This |
| 291 // list is kept in the vm_isolate in order to share the copy across isolates | 292 // list is kept in the vm_isolate in order to share the copy across isolates |
| 292 // without having to maintain copies in each isolate. | 293 // without having to maintain copies in each isolate. |
| 293 class Symbols : public AllStatic { | 294 class Symbols : public AllStatic { |
| 294 public: | 295 public: |
| 295 enum { kMaxOneCharCodeSymbol = 0xFF }; | 296 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 296 | 297 |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 friend class SnapshotReader; | 487 friend class SnapshotReader; |
| 487 friend class SnapshotWriter; | 488 friend class SnapshotWriter; |
| 488 friend class ApiMessageReader; | 489 friend class ApiMessageReader; |
| 489 | 490 |
| 490 DISALLOW_COPY_AND_ASSIGN(Symbols); | 491 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 491 }; | 492 }; |
| 492 | 493 |
| 493 } // namespace dart | 494 } // namespace dart |
| 494 | 495 |
| 495 #endif // VM_SYMBOLS_H_ | 496 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |