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