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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 V(_GrowableObjectArray, []=, GrowableArray_setIndexed) \ | 65 V(_GrowableObjectArray, []=, GrowableArray_setIndexed) \ |
66 V(_GrowableObjectArray, _setLength, GrowableArray_setLength) \ | 66 V(_GrowableObjectArray, _setLength, GrowableArray_setLength) \ |
67 V(_GrowableObjectArray, _setData, GrowableArray_setData) \ | 67 V(_GrowableObjectArray, _setData, GrowableArray_setData) \ |
68 V(_GrowableObjectArray, add, GrowableArray_add) \ | 68 V(_GrowableObjectArray, add, GrowableArray_add) \ |
69 V(_ImmutableArray, [], ImmutableArray_getIndexed) \ | 69 V(_ImmutableArray, [], ImmutableArray_getIndexed) \ |
70 V(_ImmutableArray, get:length, ImmutableArray_getLength) \ | 70 V(_ImmutableArray, get:length, ImmutableArray_getLength) \ |
71 V(::, sqrt, Math_sqrt) \ | 71 V(::, sqrt, Math_sqrt) \ |
72 V(::, sin, Math_sin) \ | 72 V(::, sin, Math_sin) \ |
73 V(::, cos, Math_cos) \ | 73 V(::, cos, Math_cos) \ |
74 V(Object, ==, Object_equal) \ | 74 V(Object, ==, Object_equal) \ |
| 75 V(_FixedSizeArrayIterator, get:hasNext, FixedSizeArrayIterator_getHasNext) \ |
75 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next) \ | 76 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next) \ |
76 V(_FixedSizeArrayIterator, hasNext, FixedSizeArrayIterator_hasNext) \ | |
77 V(_StringBase, get:hashCode, String_getHashCode) \ | 77 V(_StringBase, get:hashCode, String_getHashCode) \ |
78 V(_StringBase, get:length, String_getLength) \ | 78 V(_StringBase, get:length, String_getLength) \ |
79 V(_StringBase, charCodeAt, String_charCodeAt) \ | 79 V(_StringBase, charCodeAt, String_charCodeAt) \ |
80 V(_StringBase, isEmpty, String_isEmpty) \ | 80 V(_StringBase, isEmpty, String_isEmpty) \ |
81 V(_ByteArrayBase, get:length, ByteArrayBase_getLength) \ | 81 V(_ByteArrayBase, get:length, ByteArrayBase_getLength) \ |
82 V(_Int8Array, [], Int8Array_getIndexed) \ | 82 V(_Int8Array, [], Int8Array_getIndexed) \ |
83 V(_Int8Array, []=, Int8Array_setIndexed) \ | 83 V(_Int8Array, []=, Int8Array_setIndexed) \ |
84 V(_Uint8Array, [], Uint8Array_getIndexed) \ | 84 V(_Uint8Array, [], Uint8Array_getIndexed) \ |
85 V(_Uint8Array, []=, Uint8Array_setIndexed) \ | 85 V(_Uint8Array, []=, Uint8Array_setIndexed) \ |
86 V(_Int16Array, [], Int16Array_getIndexed) \ | 86 V(_Int16Array, [], Int16Array_getIndexed) \ |
(...skipping 23 matching lines...) Expand all Loading... |
110 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ | 110 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ |
111 static bool destination(Assembler* assembler); | 111 static bool destination(Assembler* assembler); |
112 | 112 |
113 INTRINSIC_LIST(DECLARE_FUNCTION) | 113 INTRINSIC_LIST(DECLARE_FUNCTION) |
114 #undef DECLARE_FUNCTION | 114 #undef DECLARE_FUNCTION |
115 }; | 115 }; |
116 | 116 |
117 } // namespace dart | 117 } // namespace dart |
118 | 118 |
119 #endif // VM_INTRINSIFIER_H_ | 119 #endif // VM_INTRINSIFIER_H_ |
OLD | NEW |