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 | 4 |
5 #ifndef VM_BOOTSTRAP_NATIVES_H_ | 5 #ifndef VM_BOOTSTRAP_NATIVES_H_ |
6 #define VM_BOOTSTRAP_NATIVES_H_ | 6 #define VM_BOOTSTRAP_NATIVES_H_ |
7 | 7 |
8 #include "vm/native_entry.h" | 8 #include "vm/native_entry.h" |
9 | 9 |
10 // bootstrap dart natives used in the core dart library. | 10 // bootstrap dart natives used in the core dart library. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 V(JSSyntaxRegExp_getPattern, 1) \ | 63 V(JSSyntaxRegExp_getPattern, 1) \ |
64 V(JSSyntaxRegExp_multiLine, 1) \ | 64 V(JSSyntaxRegExp_multiLine, 1) \ |
65 V(JSSyntaxRegExp_ignoreCase, 1) \ | 65 V(JSSyntaxRegExp_ignoreCase, 1) \ |
66 V(JSSyntaxRegExp_getGroupCount, 1) \ | 66 V(JSSyntaxRegExp_getGroupCount, 1) \ |
67 V(JSSyntaxRegExp_ExecuteMatch, 3) \ | 67 V(JSSyntaxRegExp_ExecuteMatch, 3) \ |
68 V(ObjectArray_allocate, 2) \ | 68 V(ObjectArray_allocate, 2) \ |
69 V(ObjectArray_getIndexed, 2) \ | 69 V(ObjectArray_getIndexed, 2) \ |
70 V(ObjectArray_setIndexed, 3) \ | 70 V(ObjectArray_setIndexed, 3) \ |
71 V(ObjectArray_getLength, 1) \ | 71 V(ObjectArray_getLength, 1) \ |
72 V(ObjectArray_copyFromObjectArray, 5) \ | 72 V(ObjectArray_copyFromObjectArray, 5) \ |
73 V(StringBase_createFromCodePoints, 1) \ | 73 V(StringBase_createFromUtf16, 1) \ |
74 V(StringBase_substringUnchecked, 3) \ | 74 V(StringBase_substringUnchecked, 3) \ |
75 V(String_getHashCode, 1) \ | 75 V(String_getHashCode, 1) \ |
76 V(String_getLength, 1) \ | 76 V(String_getLength, 1) \ |
77 V(String_charAt, 2) \ | 77 V(String_charAt, 2) \ |
78 V(String_charCodeAt, 2) \ | 78 V(String_codeUnitAt, 2) \ |
79 V(String_concat, 2) \ | 79 V(String_concat, 2) \ |
80 V(String_toLowerCase, 1) \ | 80 V(String_toLowerCase, 1) \ |
81 V(String_toUpperCase, 1) \ | 81 V(String_toUpperCase, 1) \ |
82 V(Strings_concatAll, 1) \ | 82 V(Strings_concatAll, 1) \ |
83 V(MathNatives_sqrt, 1) \ | 83 V(MathNatives_sqrt, 1) \ |
84 V(MathNatives_sin, 1) \ | 84 V(MathNatives_sin, 1) \ |
85 V(MathNatives_cos, 1) \ | 85 V(MathNatives_cos, 1) \ |
86 V(MathNatives_tan, 1) \ | 86 V(MathNatives_tan, 1) \ |
87 V(MathNatives_asin, 1) \ | 87 V(MathNatives_asin, 1) \ |
88 V(MathNatives_acos, 1) \ | 88 V(MathNatives_acos, 1) \ |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 static void DN_##name(Dart_NativeArguments args); | 207 static void DN_##name(Dart_NativeArguments args); |
208 | 208 |
209 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 209 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
210 | 210 |
211 #undef DECLARE_BOOTSTRAP_NATIVE | 211 #undef DECLARE_BOOTSTRAP_NATIVE |
212 }; | 212 }; |
213 | 213 |
214 } // namespace dart | 214 } // namespace dart |
215 | 215 |
216 #endif // VM_BOOTSTRAP_NATIVES_H_ | 216 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |