| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 V(Smi_shrFromInt, 2) \ | 56 V(Smi_shrFromInt, 2) \ |
| 57 V(Smi_bitNegate, 1) \ | 57 V(Smi_bitNegate, 1) \ |
| 58 V(Smi_bitLength, 1) \ | 58 V(Smi_bitLength, 1) \ |
| 59 V(Mint_bitNegate, 1) \ | 59 V(Mint_bitNegate, 1) \ |
| 60 V(Mint_bitLength, 1) \ | 60 V(Mint_bitLength, 1) \ |
| 61 V(Mint_shlFromInt, 2) \ | 61 V(Mint_shlFromInt, 2) \ |
| 62 V(Bigint_getNeg, 1) \ | 62 V(Bigint_getNeg, 1) \ |
| 63 V(Bigint_getUsed, 1) \ | 63 V(Bigint_getUsed, 1) \ |
| 64 V(Bigint_getDigits, 1) \ | 64 V(Bigint_getDigits, 1) \ |
| 65 V(Bigint_allocate, 4) \ | 65 V(Bigint_allocate, 4) \ |
| 66 V(Developer_debugger, 2) \ |
| 66 V(Double_getIsNegative, 1) \ | 67 V(Double_getIsNegative, 1) \ |
| 67 V(Double_getIsInfinite, 1) \ | 68 V(Double_getIsInfinite, 1) \ |
| 68 V(Double_getIsNaN, 1) \ | 69 V(Double_getIsNaN, 1) \ |
| 69 V(Double_add, 2) \ | 70 V(Double_add, 2) \ |
| 70 V(Double_sub, 2) \ | 71 V(Double_sub, 2) \ |
| 71 V(Double_mul, 2) \ | 72 V(Double_mul, 2) \ |
| 72 V(Double_div, 2) \ | 73 V(Double_div, 2) \ |
| 73 V(Double_trunc_div, 2) \ | 74 V(Double_trunc_div, 2) \ |
| 74 V(Double_remainder, 2) \ | 75 V(Double_remainder, 2) \ |
| 75 V(Double_modulo, 2) \ | 76 V(Double_modulo, 2) \ |
| 76 V(Double_greaterThanFromInteger, 2) \ | 77 V(Double_greaterThanFromInteger, 2) \ |
| 77 V(Double_equalToInteger, 2) \ | 78 V(Double_equalToInteger, 2) \ |
| 78 V(Double_greaterThan, 2) \ | 79 V(Double_greaterThan, 2) \ |
| 79 V(Double_equal, 2) \ | 80 V(Double_equal, 2) \ |
| 80 V(Double_doubleFromInteger, 2) \ | 81 V(Double_doubleFromInteger, 2) \ |
| 81 V(Double_round, 1) \ | 82 V(Double_round, 1) \ |
| 82 V(Double_floor, 1) \ | 83 V(Double_floor, 1) \ |
| 83 V(Double_ceil, 1) \ | 84 V(Double_ceil, 1) \ |
| 84 V(Double_truncate, 1) \ | 85 V(Double_truncate, 1) \ |
| 85 V(Double_toInt, 1) \ | 86 V(Double_toInt, 1) \ |
| 86 V(Double_parse, 3) \ | 87 V(Double_parse, 3) \ |
| 87 V(Double_toStringAsFixed, 2) \ | 88 V(Double_toStringAsFixed, 2) \ |
| 88 V(Double_toStringAsExponential, 2) \ | 89 V(Double_toStringAsExponential, 2) \ |
| 89 V(Double_toStringAsPrecision, 2) \ | 90 V(Double_toStringAsPrecision, 2) \ |
| 90 V(Developer_debugger, 2) \ | |
| 91 V(JSSyntaxRegExp_factory, 4) \ | 91 V(JSSyntaxRegExp_factory, 4) \ |
| 92 V(JSSyntaxRegExp_getPattern, 1) \ | 92 V(JSSyntaxRegExp_getPattern, 1) \ |
| 93 V(JSSyntaxRegExp_getIsMultiLine, 1) \ | 93 V(JSSyntaxRegExp_getIsMultiLine, 1) \ |
| 94 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ | 94 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ |
| 95 V(JSSyntaxRegExp_getGroupCount, 1) \ | 95 V(JSSyntaxRegExp_getGroupCount, 1) \ |
| 96 V(JSSyntaxRegExp_ExecuteMatch, 3) \ | 96 V(JSSyntaxRegExp_ExecuteMatch, 3) \ |
| 97 V(List_allocate, 2) \ | 97 V(List_allocate, 2) \ |
| 98 V(List_getIndexed, 2) \ | 98 V(List_getIndexed, 2) \ |
| 99 V(List_setIndexed, 3) \ | 99 V(List_setIndexed, 3) \ |
| 100 V(List_getLength, 1) \ | 100 V(List_getLength, 1) \ |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 394 static void DN_##name(Dart_NativeArguments args); | 394 static void DN_##name(Dart_NativeArguments args); |
| 395 | 395 |
| 396 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 396 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 397 | 397 |
| 398 #undef DECLARE_BOOTSTRAP_NATIVE | 398 #undef DECLARE_BOOTSTRAP_NATIVE |
| 399 }; | 399 }; |
| 400 | 400 |
| 401 } // namespace dart | 401 } // namespace dart |
| 402 | 402 |
| 403 #endif // VM_BOOTSTRAP_NATIVES_H_ | 403 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |