| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 V(DartSchemePrivate, "dart:_") \ | 197 V(DartSchemePrivate, "dart:_") \ |
| 198 V(DartCore, "dart:core") \ | 198 V(DartCore, "dart:core") \ |
| 199 V(DartCollection, "dart:collection") \ | 199 V(DartCollection, "dart:collection") \ |
| 200 V(DartCollectionDev, "dart:_collection-dev") \ | 200 V(DartCollectionDev, "dart:_collection-dev") \ |
| 201 V(DartMath, "dart:math") \ | 201 V(DartMath, "dart:math") \ |
| 202 V(DartIsolate, "dart:isolate") \ | 202 V(DartIsolate, "dart:isolate") \ |
| 203 V(DartMirrors, "dart:mirrors") \ | 203 V(DartMirrors, "dart:mirrors") \ |
| 204 V(DartScalarlist, "dart:scalarlist") \ | 204 V(DartScalarlist, "dart:scalarlist") \ |
| 205 V(DartNativeWrappers, "dart:nativewrappers") \ | 205 V(DartNativeWrappers, "dart:nativewrappers") \ |
| 206 V(DartAsync, "dart:async") \ | 206 V(DartAsync, "dart:async") \ |
| 207 V(DartUri, "dart:uri") \ |
| 208 V(DartUtf, "dart:utf") \ |
| 209 V(DartCrypto, "dart:crypto") \ |
| 210 V(DartJson, "dart:json") \ |
| 207 | 211 |
| 208 | 212 |
| 209 // Contains a list of frequently used strings in a canonicalized form. This | 213 // Contains a list of frequently used strings in a canonicalized form. This |
| 210 // list is kept in the vm_isolate in order to share the copy across isolates | 214 // list is kept in the vm_isolate in order to share the copy across isolates |
| 211 // without having to maintain copies in each isolate. | 215 // without having to maintain copies in each isolate. |
| 212 class Symbols : public AllStatic { | 216 class Symbols : public AllStatic { |
| 213 public: | 217 public: |
| 214 enum { kMaxOneCharCodeSymbol = 0xFF }; | 218 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 215 | 219 |
| 216 // List of strings that are pre created in the vm isolate. | 220 // List of strings that are pre created in the vm isolate. |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 friend class SnapshotReader; | 397 friend class SnapshotReader; |
| 394 friend class SnapshotWriter; | 398 friend class SnapshotWriter; |
| 395 friend class ApiMessageReader; | 399 friend class ApiMessageReader; |
| 396 | 400 |
| 397 DISALLOW_COPY_AND_ASSIGN(Symbols); | 401 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 398 }; | 402 }; |
| 399 | 403 |
| 400 } // namespace dart | 404 } // namespace dart |
| 401 | 405 |
| 402 #endif // VM_SYMBOLS_H_ | 406 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |