| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 V(_Int16Array, _new, TypedData_Int16Array_new, 422885769) \ | 110 V(_Int16Array, _new, TypedData_Int16Array_new, 422885769) \ |
| 111 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1401544578) \ | 111 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1401544578) \ |
| 112 V(_Int32Array, _new, TypedData_Int32Array_new, 204107275) \ | 112 V(_Int32Array, _new, TypedData_Int32Array_new, 204107275) \ |
| 113 V(_Uint32Array, _new, TypedData_Uint32Array_new, 941458944) \ | 113 V(_Uint32Array, _new, TypedData_Uint32Array_new, 941458944) \ |
| 114 V(_Int64Array, _new, TypedData_Int64Array_new, 1022695954) \ | 114 V(_Int64Array, _new, TypedData_Int64Array_new, 1022695954) \ |
| 115 V(_Uint64Array, _new, TypedData_Uint64Array_new, 728124050) \ | 115 V(_Uint64Array, _new, TypedData_Uint64Array_new, 728124050) \ |
| 116 V(_Float32Array, _new, TypedData_Float32Array_new, 123728871) \ | 116 V(_Float32Array, _new, TypedData_Float32Array_new, 123728871) \ |
| 117 V(_Float64Array, _new, TypedData_Float64Array_new, 311965335) \ | 117 V(_Float64Array, _new, TypedData_Float64Array_new, 311965335) \ |
| 118 V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 775330800) \ | 118 V(_Float32x4Array, _new, TypedData_Float32x4Array_new, 775330800) \ |
| 119 V(_Int32x4Array, _new, TypedData_Int32x4Array_new, 2074077580) \ | 119 V(_Int32x4Array, _new, TypedData_Int32x4Array_new, 2074077580) \ |
| 120 V(_Float64x2Array, _new, TypedData_Float64x2Array_new, 1540328543) \ |
| 120 V(_Int8Array, ., TypedData_Int8Array_factory, 545976988) \ | 121 V(_Int8Array, ., TypedData_Int8Array_factory, 545976988) \ |
| 121 V(_Uint8Array, ., TypedData_Uint8Array_factory, 981297074) \ | 122 V(_Uint8Array, ., TypedData_Uint8Array_factory, 981297074) \ |
| 122 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1617830104) \ | 123 V(_Uint8ClampedArray, ., TypedData_Uint8ClampedArray_factory, 1617830104) \ |
| 123 V(_Int16Array, ., TypedData_Int16Array_factory, 300928419) \ | 124 V(_Int16Array, ., TypedData_Int16Array_factory, 300928419) \ |
| 124 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \ | 125 V(_Uint16Array, ., TypedData_Uint16Array_factory, 480982704) \ |
| 125 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \ | 126 V(_Int32Array, ., TypedData_Int32Array_factory, 1876611964) \ |
| 126 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \ | 127 V(_Uint32Array, ., TypedData_Uint32Array_factory, 1811693442) \ |
| 127 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \ | 128 V(_Int64Array, ., TypedData_Int64Array_factory, 958749261) \ |
| 128 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ | 129 V(_Uint64Array, ., TypedData_Uint64Array_factory, 767338823) \ |
| 129 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ | 130 V(_Float32Array, ., TypedData_Float32Array_factory, 1721244151) \ |
| 130 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ | 131 V(_Float64Array, ., TypedData_Float64Array_factory, 1599078532) \ |
| 131 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ | 132 V(_Float32x4Array, ., TypedData_Float32x4Array_factory, 879975401) \ |
| 132 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ | 133 V(_Int32x4Array, ., TypedData_Int32x4Array_factory, 924582681) \ |
| 134 V(_Float64x2Array, ., TypedData_Float64x2Array_factory, 1654170890) \ |
| 133 | 135 |
| 134 | 136 |
| 135 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and | 137 // TODO(srdjan): Implement _FixedSizeArrayIterator, get:current and |
| 136 // _FixedSizeArrayIterator, moveNext. | 138 // _FixedSizeArrayIterator, moveNext. |
| 137 | 139 |
| 138 // Forward declarations. | 140 // Forward declarations. |
| 139 class Assembler; | 141 class Assembler; |
| 140 class Function; | 142 class Function; |
| 141 | 143 |
| 142 class Intrinsifier : public AllStatic { | 144 class Intrinsifier : public AllStatic { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 156 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 158 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 157 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 159 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 158 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 160 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 159 | 161 |
| 160 #undef DECLARE_FUNCTION | 162 #undef DECLARE_FUNCTION |
| 161 }; | 163 }; |
| 162 | 164 |
| 163 } // namespace dart | 165 } // namespace dart |
| 164 | 166 |
| 165 #endif // VM_INTRINSIFIER_H_ | 167 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |