| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \ | 124 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \ |
| 125 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \ | 125 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \ |
| 126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \ | 126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \ |
| 127 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \ | 127 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \ |
| 128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ | 128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ |
| 129 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ | 129 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ |
| 130 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ | 130 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ |
| 131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ | 131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ |
| 132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ | 132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ |
| 133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \ | 133 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \ |
| 134 V(_Uint8Array, [], Uint8Array_getIndexed, 738731818) \ |
| 135 V(_ExternalUint8Array, [], ExternalUint8Array_getIndexed, 2067666479) \ |
| 134 | 136 |
| 135 | 137 |
| 136 #define PROFILER_LIB_INTRINSIC_LIST(V) \ | 138 #define PROFILER_LIB_INTRINSIC_LIST(V) \ |
| 137 V(_UserTag, makeCurrent, UserTag_makeCurrent, 2084603703) \ | 139 V(_UserTag, makeCurrent, UserTag_makeCurrent, 2084603703) \ |
| 138 V(::, _getDefaultTag, UserTag_defaultTag, 624228668) \ | 140 V(::, _getDefaultTag, UserTag_defaultTag, 624228668) \ |
| 139 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \ | 141 V(::, _getCurrentTag, Profiler_getCurrentTag, 1559793589) \ |
| 140 | 142 |
| 141 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and | 143 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and |
| 142 // _FixedSizeArrayIterator, moveNext. | 144 // _FixedSizeArrayIterator, moveNext. |
| 143 | 145 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 163 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 165 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 164 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 166 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 165 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 167 PROFILER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 166 | 168 |
| 167 #undef DECLARE_FUNCTION | 169 #undef DECLARE_FUNCTION |
| 168 }; | 170 }; |
| 169 | 171 |
| 170 } // namespace dart | 172 } // namespace dart |
| 171 | 173 |
| 172 #endif // VM_INTRINSIFIER_H_ | 174 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |