| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 V(Double, ==, Double_equal) \ | 44 V(Double, ==, Double_equal) \ |
| 45 V(Double, +, Double_add) \ | 45 V(Double, +, Double_add) \ |
| 46 V(Double, -, Double_sub) \ | 46 V(Double, -, Double_sub) \ |
| 47 V(Double, *, Double_mul) \ | 47 V(Double, *, Double_mul) \ |
| 48 V(Double, /, Double_div) \ | 48 V(Double, /, Double_div) \ |
| 49 V(Double, toDouble, Double_toDouble) \ | 49 V(Double, toDouble, Double_toDouble) \ |
| 50 V(Double, mulFromInteger, Double_mulFromInteger) \ | 50 V(Double, mulFromInteger, Double_mulFromInteger) \ |
| 51 V(Double, Double.fromInteger, Double_fromInteger) \ | 51 V(Double, Double.fromInteger, Double_fromInteger) \ |
| 52 V(Double, isNaN, Double_isNaN) \ | 52 V(Double, isNaN, Double_isNaN) \ |
| 53 V(Double, isNegative, Double_isNegative) \ | 53 V(Double, isNegative, Double_isNegative) \ |
| 54 V(Double, toInt, Double_toInt) \ |
| 54 V(ObjectArray, ObjectArray., ObjectArray_Allocate) \ | 55 V(ObjectArray, ObjectArray., ObjectArray_Allocate) \ |
| 55 V(ObjectArray, get:length, Array_getLength) \ | 56 V(ObjectArray, get:length, Array_getLength) \ |
| 56 V(ObjectArray, [], Array_getIndexed) \ | 57 V(ObjectArray, [], Array_getIndexed) \ |
| 57 V(ObjectArray, []=, Array_setIndexed) \ | 58 V(ObjectArray, []=, Array_setIndexed) \ |
| 58 V(GrowableObjectArray, GrowableObjectArray.fromObjectArray, GArray_Allocate) \ | 59 V(GrowableObjectArray, GrowableObjectArray.fromObjectArray, GArray_Allocate) \ |
| 59 V(GrowableObjectArray, get:length, GrowableArray_getLength) \ | 60 V(GrowableObjectArray, get:length, GrowableArray_getLength) \ |
| 60 V(GrowableObjectArray, get:capacity, GrowableArray_getCapacity) \ | 61 V(GrowableObjectArray, get:capacity, GrowableArray_getCapacity) \ |
| 61 V(GrowableObjectArray, [], GrowableArray_getIndexed) \ | 62 V(GrowableObjectArray, [], GrowableArray_getIndexed) \ |
| 62 V(GrowableObjectArray, []=, GrowableArray_setIndexed) \ | 63 V(GrowableObjectArray, []=, GrowableArray_setIndexed) \ |
| 63 V(GrowableObjectArray, _setLength, GrowableArray_setLength) \ | 64 V(GrowableObjectArray, _setLength, GrowableArray_setLength) \ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ | 99 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ |
| 99 static bool destination(Assembler* assembler); | 100 static bool destination(Assembler* assembler); |
| 100 | 101 |
| 101 INTRINSIC_LIST(DECLARE_FUNCTION) | 102 INTRINSIC_LIST(DECLARE_FUNCTION) |
| 102 #undef DECLARE_FUNCTION | 103 #undef DECLARE_FUNCTION |
| 103 }; | 104 }; |
| 104 | 105 |
| 105 } // namespace dart | 106 } // namespace dart |
| 106 | 107 |
| 107 #endif // VM_INTRINSIFIER_H_ | 108 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |