| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 124   V(LanguageError, "LanguageError")                                            \ | 124   V(LanguageError, "LanguageError")                                            \ | 
| 125   V(UnhandledException, "UnhandledException")                                  \ | 125   V(UnhandledException, "UnhandledException")                                  \ | 
| 126   V(UnwindError, "UnwindError")                                                \ | 126   V(UnwindError, "UnwindError")                                                \ | 
| 127   V(IntegerImplementation, "_IntegerImplementation")                           \ | 127   V(IntegerImplementation, "_IntegerImplementation")                           \ | 
| 128   V(Number, "num")                                                             \ | 128   V(Number, "num")                                                             \ | 
| 129   V(_Smi, "_Smi")                                                              \ | 129   V(_Smi, "_Smi")                                                              \ | 
| 130   V(_Mint, "_Mint")                                                            \ | 130   V(_Mint, "_Mint")                                                            \ | 
| 131   V(_Bigint, "_Bigint")                                                        \ | 131   V(_Bigint, "_Bigint")                                                        \ | 
| 132   V(_Double, "_Double")                                                        \ | 132   V(_Double, "_Double")                                                        \ | 
| 133   V(Bool, "bool")                                                              \ | 133   V(Bool, "bool")                                                              \ | 
|  | 134   V(True, "true")                                                              \ | 
|  | 135   V(False, "false")                                                            \ | 
| 134   V(_List, "_List")                                                            \ | 136   V(_List, "_List")                                                            \ | 
| 135   V(_ListFactory, "_List.")                                                    \ | 137   V(_ListFactory, "_List.")                                                    \ | 
| 136   V(_GrowableList, "_GrowableList")                                            \ | 138   V(_GrowableList, "_GrowableList")                                            \ | 
| 137   V(_GrowableListFactory, "_GrowableList.")                                    \ | 139   V(_GrowableListFactory, "_GrowableList.")                                    \ | 
| 138   V(_GrowableListWithData, "_GrowableList.withData")                           \ | 140   V(_GrowableListWithData, "_GrowableList.withData")                           \ | 
| 139   V(_ImmutableList, "_ImmutableList")                                          \ | 141   V(_ImmutableList, "_ImmutableList")                                          \ | 
| 140   V(_LinkedHashMap, "_InternalLinkedHashMap")                                  \ | 142   V(_LinkedHashMap, "_InternalLinkedHashMap")                                  \ | 
| 141   V(_String, "String")                                                         \ | 143   V(_String, "String")                                                         \ | 
| 142   V(OneByteString, "_OneByteString")                                           \ | 144   V(OneByteString, "_OneByteString")                                           \ | 
| 143   V(TwoByteString, "_TwoByteString")                                           \ | 145   V(TwoByteString, "_TwoByteString")                                           \ | 
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 307   V(hashCode, "get:hashCode")                                                  \ | 309   V(hashCode, "get:hashCode")                                                  \ | 
| 308   V(_leftShiftWithMask32, "_leftShiftWithMask32")                              \ | 310   V(_leftShiftWithMask32, "_leftShiftWithMask32")                              \ | 
| 309   V(OptimizedOut, "<optimized out>")                                           \ | 311   V(OptimizedOut, "<optimized out>")                                           \ | 
| 310   V(NotInitialized, "<not initialized>")                                       \ | 312   V(NotInitialized, "<not initialized>")                                       \ | 
| 311   V(AllocationStubFor, "Allocation stub for ")                                 \ | 313   V(AllocationStubFor, "Allocation stub for ")                                 \ | 
| 312   V(TempParam, ":temp_param")                                                  \ | 314   V(TempParam, ":temp_param")                                                  \ | 
| 313   V(_UserTag, "_UserTag")                                                      \ | 315   V(_UserTag, "_UserTag")                                                      \ | 
| 314   V(Default, "Default")                                                        \ | 316   V(Default, "Default")                                                        \ | 
| 315   V(StubPrefix, "[Stub] ")                                                     \ | 317   V(StubPrefix, "[Stub] ")                                                     \ | 
| 316   V(ClassID, "ClassID")                                                        \ | 318   V(ClassID, "ClassID")                                                        \ | 
|  | 319   V(DartIsVM, "dart.isVM")                                                     \ | 
| 317 | 320 | 
| 318 | 321 | 
| 319 // Contains a list of frequently used strings in a canonicalized form. This | 322 // Contains a list of frequently used strings in a canonicalized form. This | 
| 320 // list is kept in the vm_isolate in order to share the copy across isolates | 323 // list is kept in the vm_isolate in order to share the copy across isolates | 
| 321 // without having to maintain copies in each isolate. | 324 // without having to maintain copies in each isolate. | 
| 322 class Symbols : public AllStatic { | 325 class Symbols : public AllStatic { | 
| 323  public: | 326  public: | 
| 324   enum { kMaxOneCharCodeSymbol = 0xFF }; | 327   enum { kMaxOneCharCodeSymbol = 0xFF }; | 
| 325 | 328 | 
| 326   // List of strings that are pre created in the vm isolate. | 329   // List of strings that are pre created in the vm isolate. | 
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 503   friend class SnapshotReader; | 506   friend class SnapshotReader; | 
| 504   friend class SnapshotWriter; | 507   friend class SnapshotWriter; | 
| 505   friend class ApiMessageReader; | 508   friend class ApiMessageReader; | 
| 506 | 509 | 
| 507   DISALLOW_COPY_AND_ASSIGN(Symbols); | 510   DISALLOW_COPY_AND_ASSIGN(Symbols); | 
| 508 }; | 511 }; | 
| 509 | 512 | 
| 510 }  // namespace dart | 513 }  // namespace dart | 
| 511 | 514 | 
| 512 #endif  // VM_SYMBOLS_H_ | 515 #endif  // VM_SYMBOLS_H_ | 
| OLD | NEW | 
|---|