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