| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 V(PcDescriptors, "PcDescriptors") \ | 92 V(PcDescriptors, "PcDescriptors") \ |
| 93 V(Stackmap, "Stackmap") \ | 93 V(Stackmap, "Stackmap") \ |
| 94 V(LocalVarDescriptors, "LocalVarDescriptors") \ | 94 V(LocalVarDescriptors, "LocalVarDescriptors") \ |
| 95 V(ExceptionHandlers, "ExceptionHandlers") \ | 95 V(ExceptionHandlers, "ExceptionHandlers") \ |
| 96 V(DeoptInfo, "DeoptInfo") \ | 96 V(DeoptInfo, "DeoptInfo") \ |
| 97 V(Context, "Context") \ | 97 V(Context, "Context") \ |
| 98 V(ContextScope, "ContextScope") \ | 98 V(ContextScope, "ContextScope") \ |
| 99 V(ICData, "ICData") \ | 99 V(ICData, "ICData") \ |
| 100 V(MegamorphicCache, "MegamorphicCache") \ | 100 V(MegamorphicCache, "MegamorphicCache") \ |
| 101 V(SubtypeTestCache, "SubtypeTestCache") \ | 101 V(SubtypeTestCache, "SubtypeTestCache") \ |
| 102 V(Error, "Error") \ |
| 102 V(ApiError, "ApiError") \ | 103 V(ApiError, "ApiError") \ |
| 103 V(LanguageError, "LanguageError") \ | 104 V(LanguageError, "LanguageError") \ |
| 104 V(UnhandledException, "UnhandledException") \ | 105 V(UnhandledException, "UnhandledException") \ |
| 105 V(UnwindError, "UnwindError") \ | 106 V(UnwindError, "UnwindError") \ |
| 106 V(IntegerImplementation, "_IntegerImplementation") \ | 107 V(IntegerImplementation, "_IntegerImplementation") \ |
| 107 V(Number, "num") \ | 108 V(Number, "num") \ |
| 108 V(_Smi, "_Smi") \ | 109 V(_Smi, "_Smi") \ |
| 109 V(_Mint, "_Mint") \ | 110 V(_Mint, "_Mint") \ |
| 110 V(_Bigint, "_Bigint") \ | 111 V(_Bigint, "_Bigint") \ |
| 111 V(_Double, "_Double") \ | 112 V(_Double, "_Double") \ |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 259 V(DartConvert, "dart:convert") \ | 260 V(DartConvert, "dart:convert") \ |
| 260 V(DartIsolate, "dart:isolate") \ | 261 V(DartIsolate, "dart:isolate") \ |
| 261 V(DartJson, "dart:json") \ | 262 V(DartJson, "dart:json") \ |
| 262 V(DartMath, "dart:math") \ | 263 V(DartMath, "dart:math") \ |
| 263 V(DartMirrors, "dart:mirrors") \ | 264 V(DartMirrors, "dart:mirrors") \ |
| 264 V(DartTypedData, "dart:typed_data") \ | 265 V(DartTypedData, "dart:typed_data") \ |
| 265 V(DartUtf, "dart:utf") \ | 266 V(DartUtf, "dart:utf") \ |
| 266 V(_Random, "_Random") \ | 267 V(_Random, "_Random") \ |
| 267 V(_state, "_state") \ | 268 V(_state, "_state") \ |
| 268 V(_A, "_A") \ | 269 V(_A, "_A") \ |
| 270 V(_stackTrace, "_stackTrace") \ |
| 269 V(_SpecialTypeMirrorImpl, "_SpecialTypeMirrorImpl") \ | 271 V(_SpecialTypeMirrorImpl, "_SpecialTypeMirrorImpl") \ |
| 270 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ | 272 V(_LocalVariableMirrorImpl, "_LocalVariableMirrorImpl") \ |
| 271 | 273 |
| 272 | 274 |
| 273 // Contains a list of frequently used strings in a canonicalized form. This | 275 // Contains a list of frequently used strings in a canonicalized form. This |
| 274 // list is kept in the vm_isolate in order to share the copy across isolates | 276 // list is kept in the vm_isolate in order to share the copy across isolates |
| 275 // without having to maintain copies in each isolate. | 277 // without having to maintain copies in each isolate. |
| 276 class Symbols : public AllStatic { | 278 class Symbols : public AllStatic { |
| 277 public: | 279 public: |
| 278 enum { kMaxOneCharCodeSymbol = 0xFF }; | 280 enum { kMaxOneCharCodeSymbol = 0xFF }; |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 friend class SnapshotReader; | 468 friend class SnapshotReader; |
| 467 friend class SnapshotWriter; | 469 friend class SnapshotWriter; |
| 468 friend class ApiMessageReader; | 470 friend class ApiMessageReader; |
| 469 | 471 |
| 470 DISALLOW_COPY_AND_ASSIGN(Symbols); | 472 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 471 }; | 473 }; |
| 472 | 474 |
| 473 } // namespace dart | 475 } // namespace dart |
| 474 | 476 |
| 475 #endif // VM_SYMBOLS_H_ | 477 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |