| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 V(_Double, ==, Double_equal, 1206706717) \ | 53 V(_Double, ==, Double_equal, 1206706717) \ |
| 54 V(_Double, +, Double_add, 1965033293) \ | 54 V(_Double, +, Double_add, 1965033293) \ |
| 55 V(_Double, -, Double_sub, 1212327731) \ | 55 V(_Double, -, Double_sub, 1212327731) \ |
| 56 V(_Double, *, Double_mul, 395243827) \ | 56 V(_Double, *, Double_mul, 395243827) \ |
| 57 V(_Double, /, Double_div, 809804402) \ | 57 V(_Double, /, Double_div, 809804402) \ |
| 58 V(_Double, get:isNaN, Double_getIsNaN, 54462366) \ | 58 V(_Double, get:isNaN, Double_getIsNaN, 54462366) \ |
| 59 V(_Double, get:isNegative, Double_getIsNegative, 54462366) \ | 59 V(_Double, get:isNegative, Double_getIsNegative, 54462366) \ |
| 60 V(_Double, _mulFromInteger, Double_mulFromInteger, 815838159) \ | 60 V(_Double, _mulFromInteger, Double_mulFromInteger, 815838159) \ |
| 61 V(_Double, .fromInteger, Double_fromInteger, 842078193) \ | 61 V(_Double, .fromInteger, Double_fromInteger, 842078193) \ |
| 62 V(_Double, toInt, Double_toInt, 362666636) \ | 62 V(_Double, toInt, Double_toInt, 362666636) \ |
| 63 V(_ObjectArray, ., ObjectArray_Allocate, 577949617) \ | 63 V(_ObjectArray, ., ObjectArray_Allocate, 97987288) \ |
| 64 V(_ObjectArray, get:length, Array_getLength, 405297088) \ | 64 V(_ObjectArray, get:length, Array_getLength, 405297088) \ |
| 65 V(_ObjectArray, [], Array_getIndexed, 71937385) \ | 65 V(_ObjectArray, [], Array_getIndexed, 71937385) \ |
| 66 V(_ObjectArray, []=, Array_setIndexed, 255863719) \ | 66 V(_ObjectArray, []=, Array_setIndexed, 255863719) \ |
| 67 V(_GrowableObjectArray, .withData, GrowableArray_Allocate, 816132033) \ | 67 V(_GrowableObjectArray, .withData, GrowableArray_Allocate, 816132033) \ |
| 68 V(_GrowableObjectArray, get:length, GrowableArray_getLength, 725548050) \ | 68 V(_GrowableObjectArray, get:length, GrowableArray_getLength, 725548050) \ |
| 69 V(_GrowableObjectArray, get:_capacity, GrowableArray_getCapacity, 725548050) \ | 69 V(_GrowableObjectArray, get:_capacity, GrowableArray_getCapacity, 725548050) \ |
| 70 V(_GrowableObjectArray, [], GrowableArray_getIndexed, 581838973) \ | 70 V(_GrowableObjectArray, [], GrowableArray_getIndexed, 581838973) \ |
| 71 V(_GrowableObjectArray, []=, GrowableArray_setIndexed, 1048007636) \ | 71 V(_GrowableObjectArray, []=, GrowableArray_setIndexed, 1048007636) \ |
| 72 V(_GrowableObjectArray, _setLength, GrowableArray_setLength, 796709584) \ | 72 V(_GrowableObjectArray, _setLength, GrowableArray_setLength, 796709584) \ |
| 73 V(_GrowableObjectArray, _setData, GrowableArray_setData, 629110947) \ | 73 V(_GrowableObjectArray, _setData, GrowableArray_setData, 629110947) \ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 CORE_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 127 CORE_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 128 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 128 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 129 SCALARLIST_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) | 129 SCALARLIST_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) |
| 130 | 130 |
| 131 #undef DECLARE_FUNCTION | 131 #undef DECLARE_FUNCTION |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace dart | 134 } // namespace dart |
| 135 | 135 |
| 136 #endif // VM_INTRINSIFIER_H_ | 136 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |