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_mulFromInteger, 2) \ | 34 V(Integer_mulFromInteger, 2) \ |
35 V(Integer_truncDivFromInteger, 2) \ | 35 V(Integer_truncDivFromInteger, 2) \ |
36 V(Integer_moduloFromInteger, 2) \ | 36 V(Integer_moduloFromInteger, 2) \ |
37 V(Integer_greaterThanFromInteger, 2) \ | 37 V(Integer_greaterThanFromInteger, 2) \ |
38 V(Integer_equalToInteger, 2) \ | 38 V(Integer_equalToInteger, 2) \ |
39 V(Integer_fromEnvironment, 3) \ | 39 V(Integer_fromEnvironment, 3) \ |
40 V(Integer_parse, 1) \ | 40 V(Integer_parse, 1) \ |
41 V(Integer_leftShiftWithMask32, 3) \ | 41 V(Integer_leftShiftWithMask32, 3) \ |
42 V(Bool_fromEnvironment, 3) \ | 42 V(Bool_fromEnvironment, 3) \ |
43 V(CapabilityImpl_factory, 1) \ | 43 V(CapabilityImpl_factory, 1) \ |
| 44 V(CapabilityImpl_equals, 2) \ |
| 45 V(CapabilityImpl_get_hashcode, 1) \ |
44 V(RawReceivePortImpl_factory, 1) \ | 46 V(RawReceivePortImpl_factory, 1) \ |
45 V(RawReceivePortImpl_get_id, 1) \ | 47 V(RawReceivePortImpl_get_id, 1) \ |
46 V(RawReceivePortImpl_get_sendport, 1) \ | 48 V(RawReceivePortImpl_get_sendport, 1) \ |
47 V(RawReceivePortImpl_closeInternal, 1) \ | 49 V(RawReceivePortImpl_closeInternal, 1) \ |
48 V(SendPortImpl_get_id, 1) \ | 50 V(SendPortImpl_get_id, 1) \ |
49 V(SendPortImpl_get_hashcode, 1) \ | 51 V(SendPortImpl_get_hashcode, 1) \ |
50 V(SendPortImpl_sendInternal_, 2) \ | 52 V(SendPortImpl_sendInternal_, 2) \ |
51 V(Smi_shlFromInt, 2) \ | 53 V(Smi_shlFromInt, 2) \ |
52 V(Smi_shrFromInt, 2) \ | 54 V(Smi_shrFromInt, 2) \ |
53 V(Smi_bitNegate, 1) \ | 55 V(Smi_bitNegate, 1) \ |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
388 static void DN_##name(Dart_NativeArguments args); | 390 static void DN_##name(Dart_NativeArguments args); |
389 | 391 |
390 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 392 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
391 | 393 |
392 #undef DECLARE_BOOTSTRAP_NATIVE | 394 #undef DECLARE_BOOTSTRAP_NATIVE |
393 }; | 395 }; |
394 | 396 |
395 } // namespace dart | 397 } // namespace dart |
396 | 398 |
397 #endif // VM_BOOTSTRAP_NATIVES_H_ | 399 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |