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 19 matching lines...) Expand all Loading... |
30 V(Integer_bitAndFromInteger, 2) \ | 30 V(Integer_bitAndFromInteger, 2) \ |
31 V(Integer_bitOrFromInteger, 2) \ | 31 V(Integer_bitOrFromInteger, 2) \ |
32 V(Integer_bitXorFromInteger, 2) \ | 32 V(Integer_bitXorFromInteger, 2) \ |
33 V(Integer_addFromInteger, 2) \ | 33 V(Integer_addFromInteger, 2) \ |
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_parse, 1) \ | 41 V(Integer_parse, 1) \ |
41 V(Integer_leftShiftWithMask32, 3) \ | 42 V(Integer_leftShiftWithMask32, 3) \ |
| 43 V(Bool_fromEnvironment, 3) \ |
42 V(RawReceivePortImpl_factory, 1) \ | 44 V(RawReceivePortImpl_factory, 1) \ |
43 V(RawReceivePortImpl_closeInternal, 1) \ | 45 V(RawReceivePortImpl_closeInternal, 1) \ |
44 V(SendPortImpl_sendInternal_, 3) \ | 46 V(SendPortImpl_sendInternal_, 3) \ |
45 V(Smi_shlFromInt, 2) \ | 47 V(Smi_shlFromInt, 2) \ |
46 V(Smi_shrFromInt, 2) \ | 48 V(Smi_shrFromInt, 2) \ |
47 V(Smi_bitNegate, 1) \ | 49 V(Smi_bitNegate, 1) \ |
48 V(Smi_bitLength, 1) \ | 50 V(Smi_bitLength, 1) \ |
49 V(Mint_bitNegate, 1) \ | 51 V(Mint_bitNegate, 1) \ |
50 V(Mint_bitLength, 1) \ | 52 V(Mint_bitLength, 1) \ |
51 V(Mint_shlFromInt, 2) \ | 53 V(Mint_shlFromInt, 2) \ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 V(OneByteString_substringUnchecked, 3) \ | 95 V(OneByteString_substringUnchecked, 3) \ |
94 V(OneByteString_splitWithCharCode, 2) \ | 96 V(OneByteString_splitWithCharCode, 2) \ |
95 V(OneByteString_allocate, 1) \ | 97 V(OneByteString_allocate, 1) \ |
96 V(OneByteString_setAt, 3) \ | 98 V(OneByteString_setAt, 3) \ |
97 V(ExternalOneByteString_getCid, 0) \ | 99 V(ExternalOneByteString_getCid, 0) \ |
98 V(String_getHashCode, 1) \ | 100 V(String_getHashCode, 1) \ |
99 V(String_getLength, 1) \ | 101 V(String_getLength, 1) \ |
100 V(String_charAt, 2) \ | 102 V(String_charAt, 2) \ |
101 V(String_codeUnitAt, 2) \ | 103 V(String_codeUnitAt, 2) \ |
102 V(String_concat, 2) \ | 104 V(String_concat, 2) \ |
| 105 V(String_fromEnvironment, 3) \ |
103 V(String_toLowerCase, 1) \ | 106 V(String_toLowerCase, 1) \ |
104 V(String_toUpperCase, 1) \ | 107 V(String_toUpperCase, 1) \ |
105 V(String_concatRange, 3) \ | 108 V(String_concatRange, 3) \ |
106 V(Math_sqrt, 1) \ | 109 V(Math_sqrt, 1) \ |
107 V(Math_sin, 1) \ | 110 V(Math_sin, 1) \ |
108 V(Math_cos, 1) \ | 111 V(Math_cos, 1) \ |
109 V(Math_tan, 1) \ | 112 V(Math_tan, 1) \ |
110 V(Math_asin, 1) \ | 113 V(Math_asin, 1) \ |
111 V(Math_acos, 1) \ | 114 V(Math_acos, 1) \ |
112 V(Math_atan, 1) \ | 115 V(Math_atan, 1) \ |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 static void DN_##name(Dart_NativeArguments args); | 329 static void DN_##name(Dart_NativeArguments args); |
327 | 330 |
328 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 331 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
329 | 332 |
330 #undef DECLARE_BOOTSTRAP_NATIVE | 333 #undef DECLARE_BOOTSTRAP_NATIVE |
331 }; | 334 }; |
332 | 335 |
333 } // namespace dart | 336 } // namespace dart |
334 | 337 |
335 #endif // VM_BOOTSTRAP_NATIVES_H_ | 338 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |