| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 V(::, cos, Math_cos) \ | 73 V(::, cos, Math_cos) \ |
| 74 V(Object, ==, Object_equal) \ | 74 V(Object, ==, Object_equal) \ |
| 75 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next) \ | 75 V(_FixedSizeArrayIterator, next, FixedSizeArrayIterator_next) \ |
| 76 V(_FixedSizeArrayIterator, hasNext, FixedSizeArrayIterator_hasNext) \ | 76 V(_FixedSizeArrayIterator, hasNext, FixedSizeArrayIterator_hasNext) \ |
| 77 V(StringBase, get:length, String_getLength) \ | 77 V(StringBase, get:length, String_getLength) \ |
| 78 V(StringBase, charCodeAt, String_charCodeAt) \ | 78 V(StringBase, charCodeAt, String_charCodeAt) \ |
| 79 V(StringBase, hashCode, String_hashCode) \ | 79 V(StringBase, hashCode, String_hashCode) \ |
| 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(_Uint8Array, [], Uint8Array_getIndexed) \ | 84 V(_Uint8Array, [], Uint8Array_getIndexed) \ |
| 85 V(_Uint8Array, []=, Uint8Array_setIndexed) \ |
| 84 V(_Int16Array, [], Int16Array_getIndexed) \ | 86 V(_Int16Array, [], Int16Array_getIndexed) \ |
| 85 V(_Uint16Array, [], Uint16Array_getIndexed) \ | 87 V(_Uint16Array, [], Uint16Array_getIndexed) \ |
| 86 V(_Int32Array, [], Int32Array_getIndexed) \ | 88 V(_Int32Array, [], Int32Array_getIndexed) \ |
| 87 V(_Uint32Array, [], Uint32Array_getIndexed) \ | 89 V(_Uint32Array, [], Uint32Array_getIndexed) \ |
| 88 V(_Float32Array, [], Float32Array_getIndexed) \ | 90 V(_Float32Array, [], Float32Array_getIndexed) \ |
| 89 V(_Float32Array, []=, Float32Array_setIndexed) \ | 91 V(_Float32Array, []=, Float32Array_setIndexed) \ |
| 90 | 92 |
| 91 // Forward declarations. | 93 // Forward declarations. |
| 92 class Assembler; | 94 class Assembler; |
| 93 class Function; | 95 class Function; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 104 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ | 106 #define DECLARE_FUNCTION(test_class_name, test_function_name, destination) \ |
| 105 static bool destination(Assembler* assembler); | 107 static bool destination(Assembler* assembler); |
| 106 | 108 |
| 107 INTRINSIC_LIST(DECLARE_FUNCTION) | 109 INTRINSIC_LIST(DECLARE_FUNCTION) |
| 108 #undef DECLARE_FUNCTION | 110 #undef DECLARE_FUNCTION |
| 109 }; | 111 }; |
| 110 | 112 |
| 111 } // namespace dart | 113 } // namespace dart |
| 112 | 114 |
| 113 #endif // VM_INTRINSIFIER_H_ | 115 #endif // VM_INTRINSIFIER_H_ |
| OLD | NEW |