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