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 20 matching lines...) Expand all Loading... |
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_parse, 1) \ | 40 V(Integer_parse, 1) \ |
| 41 V(Integer_env, 3) \ |
41 V(Integer_leftShiftWithMask32, 3) \ | 42 V(Integer_leftShiftWithMask32, 3) \ |
42 V(ReceivePortImpl_factory, 1) \ | 43 V(ReceivePortImpl_factory, 1) \ |
43 V(ReceivePortImpl_closeInternal, 1) \ | 44 V(ReceivePortImpl_closeInternal, 1) \ |
44 V(SendPortImpl_sendInternal_, 3) \ | 45 V(SendPortImpl_sendInternal_, 3) \ |
45 V(Smi_shlFromInt, 2) \ | 46 V(Smi_shlFromInt, 2) \ |
46 V(Smi_shrFromInt, 2) \ | 47 V(Smi_shrFromInt, 2) \ |
47 V(Smi_bitNegate, 1) \ | 48 V(Smi_bitNegate, 1) \ |
48 V(Smi_bitLength, 1) \ | 49 V(Smi_bitLength, 1) \ |
49 V(Mint_bitNegate, 1) \ | 50 V(Mint_bitNegate, 1) \ |
50 V(Mint_bitLength, 1) \ | 51 V(Mint_bitLength, 1) \ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 V(StringBuffer_createStringFromUint16Array, 3) \ | 93 V(StringBuffer_createStringFromUint16Array, 3) \ |
93 V(OneByteString_substringUnchecked, 3) \ | 94 V(OneByteString_substringUnchecked, 3) \ |
94 V(OneByteString_splitWithCharCode, 2) \ | 95 V(OneByteString_splitWithCharCode, 2) \ |
95 V(OneByteString_allocate, 1) \ | 96 V(OneByteString_allocate, 1) \ |
96 V(OneByteString_setAt, 3) \ | 97 V(OneByteString_setAt, 3) \ |
97 V(String_getHashCode, 1) \ | 98 V(String_getHashCode, 1) \ |
98 V(String_getLength, 1) \ | 99 V(String_getLength, 1) \ |
99 V(String_charAt, 2) \ | 100 V(String_charAt, 2) \ |
100 V(String_codeUnitAt, 2) \ | 101 V(String_codeUnitAt, 2) \ |
101 V(String_concat, 2) \ | 102 V(String_concat, 2) \ |
| 103 V(String_env, 3) \ |
102 V(String_toLowerCase, 1) \ | 104 V(String_toLowerCase, 1) \ |
103 V(String_toUpperCase, 1) \ | 105 V(String_toUpperCase, 1) \ |
104 V(Strings_concatAll, 1) \ | 106 V(Strings_concatAll, 1) \ |
105 V(Math_sqrt, 1) \ | 107 V(Math_sqrt, 1) \ |
106 V(Math_sin, 1) \ | 108 V(Math_sin, 1) \ |
107 V(Math_cos, 1) \ | 109 V(Math_cos, 1) \ |
108 V(Math_tan, 1) \ | 110 V(Math_tan, 1) \ |
109 V(Math_asin, 1) \ | 111 V(Math_asin, 1) \ |
110 V(Math_acos, 1) \ | 112 V(Math_acos, 1) \ |
111 V(Math_atan, 1) \ | 113 V(Math_atan, 1) \ |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
313 static void DN_##name(Dart_NativeArguments args); | 315 static void DN_##name(Dart_NativeArguments args); |
314 | 316 |
315 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 317 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
316 | 318 |
317 #undef DECLARE_BOOTSTRAP_NATIVE | 319 #undef DECLARE_BOOTSTRAP_NATIVE |
318 }; | 320 }; |
319 | 321 |
320 } // namespace dart | 322 } // namespace dart |
321 | 323 |
322 #endif // VM_BOOTSTRAP_NATIVES_H_ | 324 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |