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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 V(DartAsync, "dart:async") \ | 283 V(DartAsync, "dart:async") \ |
284 V(DartCore, "dart:core") \ | 284 V(DartCore, "dart:core") \ |
285 V(DartCollection, "dart:collection") \ | 285 V(DartCollection, "dart:collection") \ |
286 V(DartConvert, "dart:convert") \ | 286 V(DartConvert, "dart:convert") \ |
287 V(DartInternal, "dart:_internal") \ | 287 V(DartInternal, "dart:_internal") \ |
288 V(DartIsolate, "dart:isolate") \ | 288 V(DartIsolate, "dart:isolate") \ |
289 V(DartMath, "dart:math") \ | 289 V(DartMath, "dart:math") \ |
290 V(DartMirrors, "dart:mirrors") \ | 290 V(DartMirrors, "dart:mirrors") \ |
291 V(DartTypedData, "dart:typed_data") \ | 291 V(DartTypedData, "dart:typed_data") \ |
292 V(DartVMService, "dart:vmservice") \ | 292 V(DartVMService, "dart:vmservice") \ |
| 293 V(DartProfiler, "dart:profiler") \ |
293 V(_Random, "_Random") \ | 294 V(_Random, "_Random") \ |
294 V(_state, "_state") \ | 295 V(_state, "_state") \ |
295 V(_A, "_A") \ | 296 V(_A, "_A") \ |
296 V(_stackTrace, "_stackTrace") \ | 297 V(_stackTrace, "_stackTrace") \ |
297 V(_SpecialTypeMirror, "_SpecialTypeMirror") \ | 298 V(_SpecialTypeMirror, "_SpecialTypeMirror") \ |
298 V(_LocalClassMirror, "_LocalClassMirror") \ | 299 V(_LocalClassMirror, "_LocalClassMirror") \ |
299 V(_LocalFunctionTypeMirror, "_LocalFunctionTypeMirror") \ | 300 V(_LocalFunctionTypeMirror, "_LocalFunctionTypeMirror") \ |
300 V(_LocalLibraryMirror, "_LocalLibraryMirror") \ | 301 V(_LocalLibraryMirror, "_LocalLibraryMirror") \ |
301 V(_LocalLibraryDependencyMirror, "_LocalLibraryDependencyMirror") \ | 302 V(_LocalLibraryDependencyMirror, "_LocalLibraryDependencyMirror") \ |
302 V(_LocalCombinatorMirror, "_LocalCombinatorMirror") \ | 303 V(_LocalCombinatorMirror, "_LocalCombinatorMirror") \ |
303 V(_LocalMethodMirror, "_LocalMethodMirror") \ | 304 V(_LocalMethodMirror, "_LocalMethodMirror") \ |
304 V(_LocalVariableMirror, "_LocalVariableMirror") \ | 305 V(_LocalVariableMirror, "_LocalVariableMirror") \ |
305 V(_LocalParameterMirror, "_LocalParameterMirror") \ | 306 V(_LocalParameterMirror, "_LocalParameterMirror") \ |
306 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ | 307 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ |
307 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ | 308 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ |
308 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ | 309 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ |
309 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ | 310 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ |
310 V(_SourceLocation, "_SourceLocation") \ | 311 V(_SourceLocation, "_SourceLocation") \ |
311 V(hashCode, "get:hashCode") \ | 312 V(hashCode, "get:hashCode") \ |
312 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 313 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
313 V(OptimizedOut, "<optimized out>") \ | 314 V(OptimizedOut, "<optimized out>") \ |
314 V(NotInitialized, "<not initialized>") \ | 315 V(NotInitialized, "<not initialized>") \ |
315 V(ClassId, "get:_classId") \ | 316 V(ClassId, "get:_classId") \ |
316 V(AllocationStubFor, "Allocation stub for ") \ | 317 V(AllocationStubFor, "Allocation stub for ") \ |
317 V(TempParam, ":temp_param") \ | 318 V(TempParam, ":temp_param") \ |
| 319 V(UserTag, "UserTag") \ |
| 320 V(_UserTag, "_UserTag") \ |
318 | 321 |
319 | 322 |
320 // Contains a list of frequently used strings in a canonicalized form. This | 323 // Contains a list of frequently used strings in a canonicalized form. This |
321 // list is kept in the vm_isolate in order to share the copy across isolates | 324 // list is kept in the vm_isolate in order to share the copy across isolates |
322 // without having to maintain copies in each isolate. | 325 // without having to maintain copies in each isolate. |
323 class Symbols : public AllStatic { | 326 class Symbols : public AllStatic { |
324 public: | 327 public: |
325 enum { kMaxOneCharCodeSymbol = 0xFF }; | 328 enum { kMaxOneCharCodeSymbol = 0xFF }; |
326 | 329 |
327 // List of strings that are pre created in the vm isolate. | 330 // List of strings that are pre created in the vm isolate. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
526 friend class SnapshotReader; | 529 friend class SnapshotReader; |
527 friend class SnapshotWriter; | 530 friend class SnapshotWriter; |
528 friend class ApiMessageReader; | 531 friend class ApiMessageReader; |
529 | 532 |
530 DISALLOW_COPY_AND_ASSIGN(Symbols); | 533 DISALLOW_COPY_AND_ASSIGN(Symbols); |
531 }; | 534 }; |
532 | 535 |
533 } // namespace dart | 536 } // namespace dart |
534 | 537 |
535 #endif // VM_SYMBOLS_H_ | 538 #endif // VM_SYMBOLS_H_ |
OLD | NEW |