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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, 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, .withData, 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) \ |
73 V(_GrowableObjectArray, _setData, GrowableArray_setData, 477312179) \ | 73 V(_GrowableObjectArray, _setData, GrowableArray_setData, 477312179) \ |
74 V(_GrowableObjectArray, add, GrowableArray_add, 1367698386) \ | 74 V(_GrowableObjectArray, add, GrowableArray_add, 1367698386) \ |
75 V(_ImmutableArray, [], ImmutableArray_getIndexed, 486821199) \ | 75 V(_ImmutableArray, [], ImmutableArray_getIndexed, 486821199) \ |
76 V(_ImmutableArray, get:length, ImmutableArray_getLength, 433698233) \ | 76 V(_ImmutableArray, get:length, ImmutableArray_getLength, 433698233) \ |
77 V(::, sqrt, Math_sqrt, 1662640002) \ | 77 V(::, sqrt, Math_sqrt, 1662640002) \ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \ | 120 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination, fp) \ |
121 static bool destination(Assembler* assembler); | 121 static bool destination(Assembler* assembler); |
122 | 122 |
123 INTRINSIC_LIST(DECLARE_FUNCTION) | 123 INTRINSIC_LIST(DECLARE_FUNCTION) |
124 #undef DECLARE_FUNCTION | 124 #undef DECLARE_FUNCTION |
125 }; | 125 }; |
126 | 126 |
127 } // namespace dart | 127 } // namespace dart |
128 | 128 |
129 #endif // VM_INTRINSIFIER_H_ | 129 #endif // VM_INTRINSIFIER_H_ |
OLD | NEW |