| 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(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 287 | 288 |
| 288 | 289 |
| 289 // Contains a list of frequently used strings in a canonicalized form. This | 290 // Contains a list of frequently used strings in a canonicalized form. This |
| 290 // list is kept in the vm_isolate in order to share the copy across isolates | 291 // list is kept in the vm_isolate in order to share the copy across isolates |
| 291 // without having to maintain copies in each isolate. | 292 // without having to maintain copies in each isolate. |
| 292 class Symbols : public AllStatic { | 293 class Symbols : public AllStatic { |
| 293 public: | 294 public: |
| 294 enum { kMaxOneCharCodeSymbol = 0xFF }; | 295 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 295 | 296 |
| 296 // List of strings that are pre created in the vm isolate. | 297 // List of strings that are pre created in the vm isolate. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 friend class SnapshotReader; | 483 friend class SnapshotReader; |
| 483 friend class SnapshotWriter; | 484 friend class SnapshotWriter; |
| 484 friend class ApiMessageReader; | 485 friend class ApiMessageReader; |
| 485 | 486 |
| 486 DISALLOW_COPY_AND_ASSIGN(Symbols); | 487 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 487 }; | 488 }; |
| 488 | 489 |
| 489 } // namespace dart | 490 } // namespace dart |
| 490 | 491 |
| 491 #endif // VM_SYMBOLS_H_ | 492 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |