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") |
410 | 411 |
411 | 412 |
412 // Contains a list of frequently used strings in a canonicalized form. This | 413 // Contains a list of frequently used strings in a canonicalized form. This |
413 // list is kept in the vm_isolate in order to share the copy across isolates | 414 // list is kept in the vm_isolate in order to share the copy across isolates |
414 // without having to maintain copies in each isolate. | 415 // without having to maintain copies in each isolate. |
415 class Symbols : public AllStatic { | 416 class Symbols : public AllStatic { |
416 public: | 417 public: |
417 enum { kMaxOneCharCodeSymbol = 0xFF }; | 418 enum { kMaxOneCharCodeSymbol = 0xFF }; |
418 | 419 |
419 // List of strings that are pre created in the vm isolate. | 420 // List of strings that are pre created in the vm isolate. |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 friend class Serializer; | 668 friend class Serializer; |
668 friend class Deserializer; | 669 friend class Deserializer; |
669 friend class ApiMessageReader; | 670 friend class ApiMessageReader; |
670 | 671 |
671 DISALLOW_COPY_AND_ASSIGN(Symbols); | 672 DISALLOW_COPY_AND_ASSIGN(Symbols); |
672 }; | 673 }; |
673 | 674 |
674 } // namespace dart | 675 } // namespace dart |
675 | 676 |
676 #endif // RUNTIME_VM_SYMBOLS_H_ | 677 #endif // RUNTIME_VM_SYMBOLS_H_ |
OLD | NEW |