| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 V(_state, "_state") \ | 268 V(_state, "_state") \ |
| 269 V(_A, "_A") \ | 269 V(_A, "_A") \ |
| 270 V(_stackTrace, "_stackTrace") \ | 270 V(_stackTrace, "_stackTrace") \ |
| 271 V(_SpecialTypeMirrorImpl, "_SpecialTypeMirrorImpl") \ | 271 V(_SpecialTypeMirrorImpl, "_SpecialTypeMirrorImpl") \ |
| 272 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ | 272 V(_LocalLibraryMirrorImpl, "_LocalLibraryMirrorImpl") \ |
| 273 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ | 273 V(_LocalMethodMirrorImpl, "_LocalMethodMirrorImpl") \ |
| 274 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ | 274 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ |
| 275 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ | 275 V(_LocalParameterMirrorImpl, "_LocalParameterMirrorImpl") \ |
| 276 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ | 276 V(_LocalIsolateMirrorImpl, "_LocalIsolateMirrorImpl") \ |
| 277 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ | 277 V(_LocalMirrorSystemImpl, "_LocalMirrorSystemImpl") \ |
| 278 V(_LocalTypedefMirrorImpl, "_LocalTypedefMirrorImpl") \ |
| 278 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ | 279 V(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ |
| 279 | 280 |
| 280 | 281 |
| 281 // Contains a list of frequently used strings in a canonicalized form. This | 282 // Contains a list of frequently used strings in a canonicalized form. This |
| 282 // list is kept in the vm_isolate in order to share the copy across isolates | 283 // list is kept in the vm_isolate in order to share the copy across isolates |
| 283 // without having to maintain copies in each isolate. | 284 // without having to maintain copies in each isolate. |
| 284 class Symbols : public AllStatic { | 285 class Symbols : public AllStatic { |
| 285 public: | 286 public: |
| 286 enum { kMaxOneCharCodeSymbol = 0xFF }; | 287 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 287 | 288 |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 friend class SnapshotReader; | 475 friend class SnapshotReader; |
| 475 friend class SnapshotWriter; | 476 friend class SnapshotWriter; |
| 476 friend class ApiMessageReader; | 477 friend class ApiMessageReader; |
| 477 | 478 |
| 478 DISALLOW_COPY_AND_ASSIGN(Symbols); | 479 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 479 }; | 480 }; |
| 480 | 481 |
| 481 } // namespace dart | 482 } // namespace dart |
| 482 | 483 |
| 483 #endif // VM_SYMBOLS_H_ | 484 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |