| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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) \ |
| 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(Object, ==, Object_equal, 2126956595) \ | 77 V(Object, ==, Object_equal, 2126956595) \ |
| 78 V(_StringBase, get:hashCode, String_getHashCode, 320803993) \ | 78 V(_StringBase, get:hashCode, String_getHashCode, 320803993) \ |
| 79 V(_StringBase, get:isEmpty, String_getIsEmpty, 711547329) \ | 79 V(_StringBase, get:isEmpty, String_getIsEmpty, 711547329) \ |
| 80 V(_StringBase, get:length, String_getLength, 320803993) \ | 80 V(_StringBase, get:length, String_getLength, 320803993) \ |
| 81 V(_StringBase, charCodeAt, String_charCodeAt, 984449525) \ | 81 V(_StringBase, codeUnitAt, String_codeUnitAt, 984449525) \ |
| 82 | 82 |
| 83 | 83 |
| 84 #define MATH_LIB_INTRINSIC_LIST(V) \ | 84 #define MATH_LIB_INTRINSIC_LIST(V) \ |
| 85 V(::, sqrt, Math_sqrt, 1662640002) \ | 85 V(::, sqrt, Math_sqrt, 1662640002) \ |
| 86 V(::, sin, Math_sin, 1273932041) \ | 86 V(::, sin, Math_sin, 1273932041) \ |
| 87 V(::, cos, Math_cos, 1749547468) \ | 87 V(::, cos, Math_cos, 1749547468) \ |
| 88 | 88 |
| 89 | 89 |
| 90 #define SCALARLIST_LIB_INTRINSIC_LIST(V) \ | 90 #define SCALARLIST_LIB_INTRINSIC_LIST(V) \ |
| 91 V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1098081765) \ | 91 V(_ByteArrayBase, get:length, ByteArrayBase_getLength, 1098081765) \ |
| (...skipping 35 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 |