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(Debugger_breakpoint, 0) \ |
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) \ |
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
393 static void DN_##name(Dart_NativeArguments args); | 394 static void DN_##name(Dart_NativeArguments args); |
394 | 395 |
395 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 396 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
396 | 397 |
397 #undef DECLARE_BOOTSTRAP_NATIVE | 398 #undef DECLARE_BOOTSTRAP_NATIVE |
398 }; | 399 }; |
399 | 400 |
400 } // namespace dart | 401 } // namespace dart |
401 | 402 |
402 #endif // VM_BOOTSTRAP_NATIVES_H_ | 403 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |