| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 V(JSSyntaxRegExp_getPattern, 1) \ | 65 V(JSSyntaxRegExp_getPattern, 1) \ |
| 66 V(JSSyntaxRegExp_multiLine, 1) \ | 66 V(JSSyntaxRegExp_multiLine, 1) \ |
| 67 V(JSSyntaxRegExp_ignoreCase, 1) \ | 67 V(JSSyntaxRegExp_ignoreCase, 1) \ |
| 68 V(JSSyntaxRegExp_getGroupCount, 1) \ | 68 V(JSSyntaxRegExp_getGroupCount, 1) \ |
| 69 V(JSSyntaxRegExp_ExecuteMatch, 3) \ | 69 V(JSSyntaxRegExp_ExecuteMatch, 3) \ |
| 70 V(ObjectArray_allocate, 2) \ | 70 V(ObjectArray_allocate, 2) \ |
| 71 V(ObjectArray_getIndexed, 2) \ | 71 V(ObjectArray_getIndexed, 2) \ |
| 72 V(ObjectArray_setIndexed, 3) \ | 72 V(ObjectArray_setIndexed, 3) \ |
| 73 V(ObjectArray_getLength, 1) \ | 73 V(ObjectArray_getLength, 1) \ |
| 74 V(ObjectArray_copyFromObjectArray, 5) \ | 74 V(ObjectArray_copyFromObjectArray, 5) \ |
| 75 V(StringBase_createFromUtf16, 1) \ | 75 V(StringBase_createFromCodePoints, 1) \ |
| 76 V(StringBase_substringUnchecked, 3) \ | 76 V(StringBase_substringUnchecked, 3) \ |
| 77 V(String_getHashCode, 1) \ | 77 V(String_getHashCode, 1) \ |
| 78 V(String_getLength, 1) \ | 78 V(String_getLength, 1) \ |
| 79 V(String_charAt, 2) \ | 79 V(String_charAt, 2) \ |
| 80 V(String_codeUnitAt, 2) \ | 80 V(String_charCodeAt, 2) \ |
| 81 V(String_concat, 2) \ | 81 V(String_concat, 2) \ |
| 82 V(String_toLowerCase, 1) \ | 82 V(String_toLowerCase, 1) \ |
| 83 V(String_toUpperCase, 1) \ | 83 V(String_toUpperCase, 1) \ |
| 84 V(Strings_concatAll, 1) \ | 84 V(Strings_concatAll, 1) \ |
| 85 V(Math_sqrt, 1) \ | 85 V(Math_sqrt, 1) \ |
| 86 V(Math_sin, 1) \ | 86 V(Math_sin, 1) \ |
| 87 V(Math_cos, 1) \ | 87 V(Math_cos, 1) \ |
| 88 V(Math_tan, 1) \ | 88 V(Math_tan, 1) \ |
| 89 V(Math_asin, 1) \ | 89 V(Math_asin, 1) \ |
| 90 V(Math_acos, 1) \ | 90 V(Math_acos, 1) \ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 static void DN_##name(Dart_NativeArguments args); | 206 static void DN_##name(Dart_NativeArguments args); |
| 207 | 207 |
| 208 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 208 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 209 | 209 |
| 210 #undef DECLARE_BOOTSTRAP_NATIVE | 210 #undef DECLARE_BOOTSTRAP_NATIVE |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 } // namespace dart | 213 } // namespace dart |
| 214 | 214 |
| 215 #endif // VM_BOOTSTRAP_NATIVES_H_ | 215 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |