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...) Loading... |
250 V(DartAsync, "dart:async") \ | 250 V(DartAsync, "dart:async") \ |
251 V(DartCore, "dart:core") \ | 251 V(DartCore, "dart:core") \ |
252 V(DartCollection, "dart:collection") \ | 252 V(DartCollection, "dart:collection") \ |
253 V(DartCollectionDev, "dart:_collection-dev") \ | 253 V(DartCollectionDev, "dart:_collection-dev") \ |
254 V(DartCrypto, "dart:crypto") \ | 254 V(DartCrypto, "dart:crypto") \ |
255 V(DartIsolate, "dart:isolate") \ | 255 V(DartIsolate, "dart:isolate") \ |
256 V(DartJson, "dart:json") \ | 256 V(DartJson, "dart:json") \ |
257 V(DartMath, "dart:math") \ | 257 V(DartMath, "dart:math") \ |
258 V(DartMirrors, "dart:mirrors") \ | 258 V(DartMirrors, "dart:mirrors") \ |
259 V(DartTypedData, "dart:typed_data") \ | 259 V(DartTypedData, "dart:typed_data") \ |
260 V(DartUri, "dart:uri") \ | |
261 V(DartUtf, "dart:utf") \ | 260 V(DartUtf, "dart:utf") \ |
262 V(_Random, "_Random") \ | 261 V(_Random, "_Random") \ |
263 V(_state, "_state") \ | 262 V(_state, "_state") \ |
264 V(_A, "_A") \ | 263 V(_A, "_A") \ |
265 | 264 |
266 | 265 |
267 // Contains a list of frequently used strings in a canonicalized form. This | 266 // Contains a list of frequently used strings in a canonicalized form. This |
268 // list is kept in the vm_isolate in order to share the copy across isolates | 267 // list is kept in the vm_isolate in order to share the copy across isolates |
269 // without having to maintain copies in each isolate. | 268 // without having to maintain copies in each isolate. |
270 class Symbols : public AllStatic { | 269 class Symbols : public AllStatic { |
(...skipping 186 matching lines...) Loading... |
457 friend class SnapshotReader; | 456 friend class SnapshotReader; |
458 friend class SnapshotWriter; | 457 friend class SnapshotWriter; |
459 friend class ApiMessageReader; | 458 friend class ApiMessageReader; |
460 | 459 |
461 DISALLOW_COPY_AND_ASSIGN(Symbols); | 460 DISALLOW_COPY_AND_ASSIGN(Symbols); |
462 }; | 461 }; |
463 | 462 |
464 } // namespace dart | 463 } // namespace dart |
465 | 464 |
466 #endif // VM_SYMBOLS_H_ | 465 #endif // VM_SYMBOLS_H_ |
OLD | NEW |