| 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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 V(_LocalParameterMirror, "_LocalParameterMirror") \ | 301 V(_LocalParameterMirror, "_LocalParameterMirror") \ |
| 302 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ | 302 V(_LocalIsolateMirror, "_LocalIsolateMirror") \ |
| 303 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ | 303 V(_LocalMirrorSystem, "_LocalMirrorSystem") \ |
| 304 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ | 304 V(_LocalTypedefMirror, "_LocalTypedefMirror") \ |
| 305 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ | 305 V(_LocalTypeVariableMirror, "_LocalTypeVariableMirror") \ |
| 306 V(hashCode, "get:hashCode") \ | 306 V(hashCode, "get:hashCode") \ |
| 307 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ | 307 V(_leftShiftWithMask32, "_leftShiftWithMask32") \ |
| 308 V(OptimizedOut, "<optimized out>") \ | 308 V(OptimizedOut, "<optimized out>") \ |
| 309 V(NotInitialized, "<not initialized>") \ | 309 V(NotInitialized, "<not initialized>") \ |
| 310 V(ClassId, "get:_classId") \ | 310 V(ClassId, "get:_classId") \ |
| 311 V(AllocationStubFor, "Allocation stub for ") \ |
| 311 | 312 |
| 312 | 313 |
| 313 // Contains a list of frequently used strings in a canonicalized form. This | 314 // Contains a list of frequently used strings in a canonicalized form. This |
| 314 // list is kept in the vm_isolate in order to share the copy across isolates | 315 // list is kept in the vm_isolate in order to share the copy across isolates |
| 315 // without having to maintain copies in each isolate. | 316 // without having to maintain copies in each isolate. |
| 316 class Symbols : public AllStatic { | 317 class Symbols : public AllStatic { |
| 317 public: | 318 public: |
| 318 enum { kMaxOneCharCodeSymbol = 0xFF }; | 319 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| 319 | 320 |
| 320 // List of strings that are pre created in the vm isolate. | 321 // List of strings that are pre created in the vm isolate. |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 friend class SnapshotReader; | 520 friend class SnapshotReader; |
| 520 friend class SnapshotWriter; | 521 friend class SnapshotWriter; |
| 521 friend class ApiMessageReader; | 522 friend class ApiMessageReader; |
| 522 | 523 |
| 523 DISALLOW_COPY_AND_ASSIGN(Symbols); | 524 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 524 }; | 525 }; |
| 525 | 526 |
| 526 } // namespace dart | 527 } // namespace dart |
| 527 | 528 |
| 528 #endif // VM_SYMBOLS_H_ | 529 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |