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(Smi_bitLength, 1) \ | 63 V(Smi_bitLength, 1) \ |
64 V(Mint_bitNegate, 1) \ | 64 V(Mint_bitNegate, 1) \ |
65 V(Mint_bitLength, 1) \ | 65 V(Mint_bitLength, 1) \ |
66 V(Mint_shlFromInt, 2) \ | 66 V(Mint_shlFromInt, 2) \ |
67 V(Bigint_getNeg, 1) \ | 67 V(Bigint_getNeg, 1) \ |
68 V(Bigint_getUsed, 1) \ | 68 V(Bigint_getUsed, 1) \ |
69 V(Bigint_getDigits, 1) \ | 69 V(Bigint_getDigits, 1) \ |
70 V(Bigint_allocate, 4) \ | 70 V(Bigint_allocate, 4) \ |
71 V(Developer_debugger, 2) \ | 71 V(Developer_debugger, 2) \ |
72 V(Developer_inspect, 1) \ | 72 V(Developer_inspect, 1) \ |
| 73 V(Developer_log, 8) \ |
73 V(Double_getIsNegative, 1) \ | 74 V(Double_getIsNegative, 1) \ |
74 V(Double_getIsInfinite, 1) \ | 75 V(Double_getIsInfinite, 1) \ |
75 V(Double_getIsNaN, 1) \ | 76 V(Double_getIsNaN, 1) \ |
76 V(Double_add, 2) \ | 77 V(Double_add, 2) \ |
77 V(Double_sub, 2) \ | 78 V(Double_sub, 2) \ |
78 V(Double_mul, 2) \ | 79 V(Double_mul, 2) \ |
79 V(Double_div, 2) \ | 80 V(Double_div, 2) \ |
80 V(Double_trunc_div, 2) \ | 81 V(Double_trunc_div, 2) \ |
81 V(Double_remainder, 2) \ | 82 V(Double_remainder, 2) \ |
82 V(Double_modulo, 2) \ | 83 V(Double_modulo, 2) \ |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
402 static void DN_##name(Dart_NativeArguments args); | 403 static void DN_##name(Dart_NativeArguments args); |
403 | 404 |
404 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 405 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
405 | 406 |
406 #undef DECLARE_BOOTSTRAP_NATIVE | 407 #undef DECLARE_BOOTSTRAP_NATIVE |
407 }; | 408 }; |
408 | 409 |
409 } // namespace dart | 410 } // namespace dart |
410 | 411 |
411 #endif // VM_BOOTSTRAP_NATIVES_H_ | 412 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |