| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 V(_Double, <=, Double_lessEqualThan, 1664042119) \ | 52 V(_Double, <=, Double_lessEqualThan, 1664042119) \ |
| 53 V(_Double, ==, Double_equal, 900686217) \ | 53 V(_Double, ==, Double_equal, 900686217) \ |
| 54 V(_Double, +, Double_add, 786489945) \ | 54 V(_Double, +, Double_add, 786489945) \ |
| 55 V(_Double, -, Double_sub, 1074937651) \ | 55 V(_Double, -, Double_sub, 1074937651) \ |
| 56 V(_Double, *, Double_mul, 1515140403) \ | 56 V(_Double, *, Double_mul, 1515140403) \ |
| 57 V(_Double, /, Double_div, 1481616340) \ | 57 V(_Double, /, Double_div, 1481616340) \ |
| 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, 1668662807) \ | 60 V(_Double, _mulFromInteger, Double_mulFromInteger, 1668662807) \ |
| 61 V(_Double, .fromInteger, Double_fromInteger, 842078193) \ | 61 V(_Double, .fromInteger, Double_fromInteger, 842078193) \ |
| 62 V(_Double, toInt, Double_toInt, 362666636) \ | 62 V(_Double, truncate, Double_truncate, 362666636) \ |
| 63 V(_ObjectArray, ., ObjectArray_Allocate, 577949617) \ | 63 V(_ObjectArray, ., ObjectArray_Allocate, 577949617) \ |
| 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, .fromObjectArray, GArray_Allocate, 989879928) \ | 67 V(_GrowableObjectArray, .fromObjectArray, GArray_Allocate, 989879928) \ |
| 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) \ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \ | 118 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \ |
| 119 static bool destination(Assembler* assembler); | 119 static bool destination(Assembler* assembler); |
| 120 | 120 |
| 121 INTRINSIC_LIST(DECLARE_FUNCTION) | 121 INTRINSIC_LIST(DECLARE_FUNCTION) |
| 122 #undef DECLARE_FUNCTION | 122 #undef DECLARE_FUNCTION |
| 123 }; | 123 }; |
| 124 | 124 |
| 125 } // namespace dart | 125 } // namespace dart |
| 126 | 126 |
| 127 #endif // VM_INTRINSIFIER_H_ | 127 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |