| 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 V(DartCollection, "dart:collection") \ | 250 V(DartCollection, "dart:collection") \ |
| 251 V(DartCollectionDev, "dart:_collection-dev") \ | 251 V(DartCollectionDev, "dart:_collection-dev") \ |
| 252 V(DartCrypto, "dart:crypto") \ | 252 V(DartCrypto, "dart:crypto") \ |
| 253 V(DartIsolate, "dart:isolate") \ | 253 V(DartIsolate, "dart:isolate") \ |
| 254 V(DartJson, "dart:json") \ | 254 V(DartJson, "dart:json") \ |
| 255 V(DartMath, "dart:math") \ | 255 V(DartMath, "dart:math") \ |
| 256 V(DartMirrors, "dart:mirrors") \ | 256 V(DartMirrors, "dart:mirrors") \ |
| 257 V(DartTypedData, "dart:typed_data") \ | 257 V(DartTypedData, "dart:typed_data") \ |
| 258 V(DartUri, "dart:uri") \ | 258 V(DartUri, "dart:uri") \ |
| 259 V(DartUtf, "dart:utf") \ | 259 V(DartUtf, "dart:utf") \ |
| 260 V(_Random, "_Random") \ |
| 261 V(_state, "_state") \ |
| 262 V(_A, "_A") \ |
| 260 | 263 |
| 261 | 264 |
| 262 // Contains a list of frequently used strings in a canonicalized form. This | 265 // Contains a list of frequently used strings in a canonicalized form. This |
| 263 // list is kept in the vm_isolate in order to share the copy across isolates | 266 // list is kept in the vm_isolate in order to share the copy across isolates |
| 264 // without having to maintain copies in each isolate. | 267 // without having to maintain copies in each isolate. |
| 265 class Symbols : public AllStatic { | 268 class Symbols : public AllStatic { |
| 266 public: | 269 public: |
| 267 enum { kMaxOneCharCodeSymbol = 0xFF }; | 270 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 268 | 271 |
| 269 // List of strings that are pre created in the vm isolate. | 272 // List of strings that are pre created in the vm isolate. |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 friend class SnapshotReader; | 455 friend class SnapshotReader; |
| 453 friend class SnapshotWriter; | 456 friend class SnapshotWriter; |
| 454 friend class ApiMessageReader; | 457 friend class ApiMessageReader; |
| 455 | 458 |
| 456 DISALLOW_COPY_AND_ASSIGN(Symbols); | 459 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 457 }; | 460 }; |
| 458 | 461 |
| 459 } // namespace dart | 462 } // namespace dart |
| 460 | 463 |
| 461 #endif // VM_SYMBOLS_H_ | 464 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |