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 // Class for intrinsifying functions. | 4 // Class for intrinsifying functions. |
5 | 5 |
6 #ifndef VM_INTRINSIFIER_H_ | 6 #ifndef VM_INTRINSIFIER_H_ |
7 #define VM_INTRINSIFIER_H_ | 7 #define VM_INTRINSIFIER_H_ |
8 | 8 |
9 #include "vm/allocation.h" | 9 #include "vm/allocation.h" |
10 | 10 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 297463966) \ | 126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 297463966) \ |
127 V(_Int64Array, ., TypedData_Int64Array_factory, 105050331) \ | 127 V(_Int64Array, ., TypedData_Int64Array_factory, 105050331) \ |
128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 1469861670) \ | 128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 1469861670) \ |
129 V(_Float32Array, ., TypedData_Float32Array_factory, 105860920) \ | 129 V(_Float32Array, ., TypedData_Float32Array_factory, 105860920) \ |
130 V(_Float64Array, ., TypedData_Float64Array_factory, 342242776) \ | 130 V(_Float64Array, ., TypedData_Float64Array_factory, 342242776) \ |
131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1217848993) \ | 131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 1217848993) \ |
132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 100825417) \ | 132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 100825417) \ |
133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 611308575) \ | 133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 611308575) \ |
134 V(_Uint8Array, [], Uint8Array_getIndexed, 16125140) \ | 134 V(_Uint8Array, [], Uint8Array_getIndexed, 16125140) \ |
135 V(_ExternalUint8Array, [], ExternalUint8Array_getIndexed, 1678777951) \ | 135 V(_ExternalUint8Array, [], ExternalUint8Array_getIndexed, 1678777951) \ |
| 136 V(_Float64Array, [], Float64Array_getIndexed, 1779054297) \ |
| 137 V(_Float64Array, []=, Float64Array_setIndexed, 243929230) \ |
136 | 138 |
137 | 139 |
138 #define PROFILER_LIB_INTRINSIC_LIST(V) \ | 140 #define PROFILER_LIB_INTRINSIC_LIST(V) \ |
139 V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \ | 141 V(_UserTag, makeCurrent, UserTag_makeCurrent, 370414636) \ |
140 V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \ | 142 V(::, _getDefaultTag, UserTag_defaultTag, 1159885970) \ |
141 V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \ | 143 V(::, _getCurrentTag, Profiler_getCurrentTag, 1182126114) \ |
142 | 144 |
143 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and | 145 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and |
144 // _FixedSizeArrayIterator, moveNext. | 146 // _FixedSizeArrayIterator, moveNext. |
145 | 147 |
(...skipping 19 matching lines...) Expand all Loading... |
165 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 167 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
166 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 168 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
167 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 169 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
168 | 170 |
169 #undef DECLARE_FUNCTION | 171 #undef DECLARE_FUNCTION |
170 }; | 172 }; |
171 | 173 |
172 } // namespace dart | 174 } // namespace dart |
173 | 175 |
174 #endif // VM_INTRINSIFIER_H_ | 176 #endif // VM_INTRINSIFIER_H_ |
OLD | NEW |