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 17 matching lines...) Expand all Loading... |
28 V(Integer_greaterThanFromInteger, 2) \ | 28 V(Integer_greaterThanFromInteger, 2) \ |
29 V(Integer_equalToInteger, 2) \ | 29 V(Integer_equalToInteger, 2) \ |
30 V(ReceivePortImpl_factory, 1) \ | 30 V(ReceivePortImpl_factory, 1) \ |
31 V(ReceivePortImpl_closeInternal, 1) \ | 31 V(ReceivePortImpl_closeInternal, 1) \ |
32 V(SendPortImpl_sendInternal_, 3) \ | 32 V(SendPortImpl_sendInternal_, 3) \ |
33 V(Smi_shlFromInt, 2) \ | 33 V(Smi_shlFromInt, 2) \ |
34 V(Smi_shrFromInt, 2) \ | 34 V(Smi_shrFromInt, 2) \ |
35 V(Smi_bitNegate, 1) \ | 35 V(Smi_bitNegate, 1) \ |
36 V(Mint_bitNegate, 1) \ | 36 V(Mint_bitNegate, 1) \ |
37 V(Bigint_bitNegate, 1) \ | 37 V(Bigint_bitNegate, 1) \ |
| 38 V(Double_getIsNegative, 1) \ |
| 39 V(Double_getIsInfinite, 1) \ |
| 40 V(Double_getIsNaN, 1) \ |
38 V(Double_add, 2) \ | 41 V(Double_add, 2) \ |
39 V(Double_sub, 2) \ | 42 V(Double_sub, 2) \ |
40 V(Double_mul, 2) \ | 43 V(Double_mul, 2) \ |
41 V(Double_div, 2) \ | 44 V(Double_div, 2) \ |
42 V(Double_trunc_div, 2) \ | 45 V(Double_trunc_div, 2) \ |
43 V(Double_remainder, 2) \ | 46 V(Double_remainder, 2) \ |
44 V(Double_modulo, 2) \ | 47 V(Double_modulo, 2) \ |
45 V(Double_greaterThanFromInteger, 2) \ | 48 V(Double_greaterThanFromInteger, 2) \ |
46 V(Double_equalToInteger, 2) \ | 49 V(Double_equalToInteger, 2) \ |
47 V(Double_greaterThan, 2) \ | 50 V(Double_greaterThan, 2) \ |
48 V(Double_equal, 2) \ | 51 V(Double_equal, 2) \ |
49 V(Double_isNegative, 1) \ | |
50 V(Double_isInfinite, 1) \ | |
51 V(Double_isNaN, 1) \ | |
52 V(Double_doubleFromInteger, 2) \ | 52 V(Double_doubleFromInteger, 2) \ |
53 V(Double_round, 1) \ | 53 V(Double_round, 1) \ |
54 V(Double_floor, 1) \ | 54 V(Double_floor, 1) \ |
55 V(Double_ceil, 1) \ | 55 V(Double_ceil, 1) \ |
56 V(Double_truncate, 1) \ | 56 V(Double_truncate, 1) \ |
57 V(Double_toInt, 1) \ | 57 V(Double_toInt, 1) \ |
58 V(Double_toStringAsFixed, 2) \ | 58 V(Double_toStringAsFixed, 2) \ |
59 V(Double_toStringAsExponential, 2) \ | 59 V(Double_toStringAsExponential, 2) \ |
60 V(Double_toStringAsPrecision, 2) \ | 60 V(Double_toStringAsPrecision, 2) \ |
61 V(Double_pow, 2) \ | 61 V(Double_pow, 2) \ |
(...skipping 145 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 |