| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 V(_ExternalUint8Array, "_ExternalUint8Array") \ | 129 V(_ExternalUint8Array, "_ExternalUint8Array") \ |
| 130 V(_ExternalInt16Array, "_ExternalInt16Array") \ | 130 V(_ExternalInt16Array, "_ExternalInt16Array") \ |
| 131 V(_ExternalUint16Array, "_ExternalUint16Array") \ | 131 V(_ExternalUint16Array, "_ExternalUint16Array") \ |
| 132 V(_ExternalInt32Array, "_ExternalInt32Array") \ | 132 V(_ExternalInt32Array, "_ExternalInt32Array") \ |
| 133 V(_ExternalUint32Array, "_ExternalUint32Array") \ | 133 V(_ExternalUint32Array, "_ExternalUint32Array") \ |
| 134 V(_ExternalInt64Array, "_ExternalInt64Array") \ | 134 V(_ExternalInt64Array, "_ExternalInt64Array") \ |
| 135 V(_ExternalUint64Array, "_ExternalUint64Array") \ | 135 V(_ExternalUint64Array, "_ExternalUint64Array") \ |
| 136 V(_ExternalFloat32Array, "_ExternalFloat32Array") \ | 136 V(_ExternalFloat32Array, "_ExternalFloat32Array") \ |
| 137 V(_ExternalFloat64Array, "_ExternalFloat64Array") \ | 137 V(_ExternalFloat64Array, "_ExternalFloat64Array") \ |
| 138 V(_WeakProperty, "_WeakProperty") \ | 138 V(_WeakProperty, "_WeakProperty") \ |
| 139 V(InvocationMirror, "_InvocationMirror") \ | |
| 140 V(AllocateInvocationMirror, "_allocateInvocationMirror") \ | |
| 141 | 139 |
| 142 // Contains a list of frequently used strings in a canonicalized form. This | 140 // Contains a list of frequently used strings in a canonicalized form. This |
| 143 // list is kept in the vm_isolate in order to share the copy across isolates | 141 // list is kept in the vm_isolate in order to share the copy across isolates |
| 144 // without having to maintain copies in each isolate. | 142 // without having to maintain copies in each isolate. |
| 145 class Symbols : public AllStatic { | 143 class Symbols : public AllStatic { |
| 146 public: | 144 public: |
| 147 // List of strings that are pre created in the vm isolate. | 145 // List of strings that are pre created in the vm isolate. |
| 148 enum { | 146 enum { |
| 149 kIllegal = 0, | 147 kIllegal = 0, |
| 150 | 148 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 friend class SnapshotReader; | 223 friend class SnapshotReader; |
| 226 friend class SnapshotWriter; | 224 friend class SnapshotWriter; |
| 227 friend class ApiMessageReader; | 225 friend class ApiMessageReader; |
| 228 | 226 |
| 229 DISALLOW_COPY_AND_ASSIGN(Symbols); | 227 DISALLOW_COPY_AND_ASSIGN(Symbols); |
| 230 }; | 228 }; |
| 231 | 229 |
| 232 } // namespace dart | 230 } // namespace dart |
| 233 | 231 |
| 234 #endif // VM_SYMBOLS_H_ | 232 #endif // VM_SYMBOLS_H_ |
| OLD | NEW |