| 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 23 matching lines...) Expand all Loading... |
| 34 V(Integer_subFromInteger, 2) \ | 34 V(Integer_subFromInteger, 2) \ |
| 35 V(Integer_mulFromInteger, 2) \ | 35 V(Integer_mulFromInteger, 2) \ |
| 36 V(Integer_truncDivFromInteger, 2) \ | 36 V(Integer_truncDivFromInteger, 2) \ |
| 37 V(Integer_moduloFromInteger, 2) \ | 37 V(Integer_moduloFromInteger, 2) \ |
| 38 V(Integer_greaterThanFromInteger, 2) \ | 38 V(Integer_greaterThanFromInteger, 2) \ |
| 39 V(Integer_equalToInteger, 2) \ | 39 V(Integer_equalToInteger, 2) \ |
| 40 V(Integer_fromEnvironment, 3) \ | 40 V(Integer_fromEnvironment, 3) \ |
| 41 V(Integer_parse, 1) \ | 41 V(Integer_parse, 1) \ |
| 42 V(Integer_leftShiftWithMask32, 3) \ | 42 V(Integer_leftShiftWithMask32, 3) \ |
| 43 V(Bool_fromEnvironment, 3) \ | 43 V(Bool_fromEnvironment, 3) \ |
| 44 V(CapabilityImpl_factory, 1) \ |
| 44 V(RawReceivePortImpl_factory, 1) \ | 45 V(RawReceivePortImpl_factory, 1) \ |
| 46 V(RawReceivePortImpl_get_id, 1) \ |
| 47 V(RawReceivePortImpl_get_sendport, 1) \ |
| 45 V(RawReceivePortImpl_closeInternal, 1) \ | 48 V(RawReceivePortImpl_closeInternal, 1) \ |
| 49 V(SendPortImpl_get_id, 1) \ |
| 50 V(SendPortImpl_get_hashcode, 1) \ |
| 46 V(SendPortImpl_sendInternal_, 2) \ | 51 V(SendPortImpl_sendInternal_, 2) \ |
| 47 V(Smi_shlFromInt, 2) \ | 52 V(Smi_shlFromInt, 2) \ |
| 48 V(Smi_shrFromInt, 2) \ | 53 V(Smi_shrFromInt, 2) \ |
| 49 V(Smi_bitNegate, 1) \ | 54 V(Smi_bitNegate, 1) \ |
| 50 V(Smi_bitLength, 1) \ | 55 V(Smi_bitLength, 1) \ |
| 51 V(Mint_bitNegate, 1) \ | 56 V(Mint_bitNegate, 1) \ |
| 52 V(Mint_bitLength, 1) \ | 57 V(Mint_bitLength, 1) \ |
| 53 V(Mint_shlFromInt, 2) \ | 58 V(Mint_shlFromInt, 2) \ |
| 54 V(Bigint_bitNegate, 1) \ | 59 V(Bigint_bitNegate, 1) \ |
| 55 V(Bigint_bitLength, 1) \ | 60 V(Bigint_bitLength, 1) \ |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 static void DN_##name(Dart_NativeArguments args); | 372 static void DN_##name(Dart_NativeArguments args); |
| 368 | 373 |
| 369 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 374 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 370 | 375 |
| 371 #undef DECLARE_BOOTSTRAP_NATIVE | 376 #undef DECLARE_BOOTSTRAP_NATIVE |
| 372 }; | 377 }; |
| 373 | 378 |
| 374 } // namespace dart | 379 } // namespace dart |
| 375 | 380 |
| 376 #endif // VM_BOOTSTRAP_NATIVES_H_ | 381 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |