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