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 RUNTIME_VM_SYMBOLS_H_ | 5 #ifndef RUNTIME_VM_SYMBOLS_H_ |
6 #define RUNTIME_VM_SYMBOLS_H_ | 6 #define RUNTIME_VM_SYMBOLS_H_ |
7 | 7 |
8 #include "vm/growable_array.h" | 8 #include "vm/growable_array.h" |
9 #include "vm/object.h" | 9 #include "vm/object.h" |
10 #include "vm/snapshot_ids.h" | 10 #include "vm/snapshot_ids.h" |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 V(add, "add") \ | 399 V(add, "add") \ |
400 V(ConstructorClosurePrefix, "new#") \ | 400 V(ConstructorClosurePrefix, "new#") \ |
401 V(_runExtension, "_runExtension") \ | 401 V(_runExtension, "_runExtension") \ |
402 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ | 402 V(_runPendingImmediateCallback, "_runPendingImmediateCallback") \ |
403 V(DartLibrary, "dart.library.") \ | 403 V(DartLibrary, "dart.library.") \ |
404 V(DartLibraryMirrors, "dart.library.mirrors") \ | 404 V(DartLibraryMirrors, "dart.library.mirrors") \ |
405 V(_name, "_name") \ | 405 V(_name, "_name") \ |
406 V(_classRangeCheck, "_classRangeCheck") \ | 406 V(_classRangeCheck, "_classRangeCheck") \ |
407 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ | 407 V(_classRangeCheckNegative, "_classRangeCheckNegative") \ |
408 V(GetRuntimeType, "get:runtimeType") \ | 408 V(GetRuntimeType, "get:runtimeType") \ |
409 V(HaveSameRuntimeType, "_haveSameRuntimeType") \ | 409 V(HaveSameRuntimeType, "_haveSameRuntimeType") |
410 V(KernelScriptUri, "kernel:script") | |
411 | 410 |
412 | 411 |
413 // Contains a list of frequently used strings in a canonicalized form. This | 412 // Contains a list of frequently used strings in a canonicalized form. This |
414 // list is kept in the vm_isolate in order to share the copy across isolates | 413 // list is kept in the vm_isolate in order to share the copy across isolates |
415 // without having to maintain copies in each isolate. | 414 // without having to maintain copies in each isolate. |
416 class Symbols : public AllStatic { | 415 class Symbols : public AllStatic { |
417 public: | 416 public: |
418 enum { kMaxOneCharCodeSymbol = 0xFF }; | 417 enum { kMaxOneCharCodeSymbol = 0xFF }; |
419 | 418 |
420 // List of strings that are pre created in the vm isolate. | 419 // List of strings that are pre created in the vm isolate. |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 friend class Serializer; | 667 friend class Serializer; |
669 friend class Deserializer; | 668 friend class Deserializer; |
670 friend class ApiMessageReader; | 669 friend class ApiMessageReader; |
671 | 670 |
672 DISALLOW_COPY_AND_ASSIGN(Symbols); | 671 DISALLOW_COPY_AND_ASSIGN(Symbols); |
673 }; | 672 }; |
674 | 673 |
675 } // namespace dart | 674 } // namespace dart |
676 | 675 |
677 #endif // RUNTIME_VM_SYMBOLS_H_ | 676 #endif // RUNTIME_VM_SYMBOLS_H_ |
OLD | NEW |