| 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 V(DartConvert, "dart:convert") \ | 260 V(DartConvert, "dart:convert") \ |
| 261 V(DartIsolate, "dart:isolate") \ | 261 V(DartIsolate, "dart:isolate") \ |
| 262 V(DartJson, "dart:json") \ | 262 V(DartJson, "dart:json") \ |
| 263 V(DartMath, "dart:math") \ | 263 V(DartMath, "dart:math") \ |
| 264 V(DartMirrors, "dart:mirrors") \ | 264 V(DartMirrors, "dart:mirrors") \ |
| 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(_SpecialTypeMirrorImpl, "_SpecialTypeMirrorImpl") \ |
| 270 | 271 |
| 271 | 272 |
| 272 // Contains a list of frequently used strings in a canonicalized form. This | 273 // Contains a list of frequently used strings in a canonicalized form. This |
| 273 // list is kept in the vm_isolate in order to share the copy across isolates | 274 // list is kept in the vm_isolate in order to share the copy across isolates |
| 274 // without having to maintain copies in each isolate. | 275 // without having to maintain copies in each isolate. |
| 275 class Symbols : public AllStatic { | 276 class Symbols : public AllStatic { |
| 276 public: | 277 public: |
| 277 enum { kMaxOneCharCodeSymbol = 0xFF }; | 278 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 278 | 279 |
| 279 // List of strings that are pre created in the vm isolate. | 280 // List of strings that are pre created in the vm isolate. |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 friend class SnapshotReader; | 466 friend class SnapshotReader; |
| 466 friend class SnapshotWriter; | 467 friend class SnapshotWriter; |
| 467 friend class ApiMessageReader; | 468 friend class ApiMessageReader; |
| 468 | 469 |
| 469 DISALLOW_COPY_AND_ASSIGN(Symbols); | 470 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 470 }; | 471 }; |
| 471 | 472 |
| 472 } // namespace dart | 473 } // namespace dart |
| 473 | 474 |
| 474 #endif // VM_SYMBOLS_H_ | 475 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |