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