| 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(_LocalTypeVariableMirrorImpl, "_LocalTypeVariableMirrorImpl") \ |
| 278 | 279 |
| 279 | 280 |
| 280 // Contains a list of frequently used strings in a canonicalized form. This | 281 // Contains a list of frequently used strings in a canonicalized form. This |
| 281 // list is kept in the vm_isolate in order to share the copy across isolates | 282 // list is kept in the vm_isolate in order to share the copy across isolates |
| 282 // without having to maintain copies in each isolate. | 283 // without having to maintain copies in each isolate. |
| 283 class Symbols : public AllStatic { | 284 class Symbols : public AllStatic { |
| 284 public: | 285 public: |
| 285 enum { kMaxOneCharCodeSymbol = 0xFF }; | 286 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 286 | 287 |
| 287 // List of strings that are pre created in the vm isolate. | 288 // List of strings that are pre created in the vm isolate. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 473 friend class SnapshotReader; | 474 friend class SnapshotReader; |
| 474 friend class SnapshotWriter; | 475 friend class SnapshotWriter; |
| 475 friend class ApiMessageReader; | 476 friend class ApiMessageReader; |
| 476 | 477 |
| 477 DISALLOW_COPY_AND_ASSIGN(Symbols); | 478 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 478 }; | 479 }; |
| 479 | 480 |
| 480 } // namespace dart | 481 } // namespace dart |
| 481 | 482 |
| 482 #endif // VM_SYMBOLS_H_ | 483 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |