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 21 matching lines...) Expand all Loading... |
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_leftShiftWithMask32, 3) \ | 41 V(Integer_leftShiftWithMask32, 3) \ |
42 V(ReceivePortImpl_factory, 1) \ | 42 V(RawReceivePortImpl_factory, 1) \ |
43 V(ReceivePortImpl_closeInternal, 1) \ | 43 V(RawReceivePortImpl_closeInternal, 1) \ |
44 V(SendPortImpl_sendInternal_, 3) \ | 44 V(SendPortImpl_sendInternal_, 3) \ |
45 V(Smi_shlFromInt, 2) \ | 45 V(Smi_shlFromInt, 2) \ |
46 V(Smi_shrFromInt, 2) \ | 46 V(Smi_shrFromInt, 2) \ |
47 V(Smi_bitNegate, 1) \ | 47 V(Smi_bitNegate, 1) \ |
48 V(Smi_bitLength, 1) \ | 48 V(Smi_bitLength, 1) \ |
49 V(Mint_bitNegate, 1) \ | 49 V(Mint_bitNegate, 1) \ |
50 V(Mint_bitLength, 1) \ | 50 V(Mint_bitLength, 1) \ |
51 V(Mint_shlFromInt, 2) \ | 51 V(Mint_shlFromInt, 2) \ |
52 V(Bigint_bitNegate, 1) \ | 52 V(Bigint_bitNegate, 1) \ |
53 V(Bigint_bitLength, 1) \ | 53 V(Bigint_bitLength, 1) \ |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 V(Uint32x4_getFlagX, 1) \ | 242 V(Uint32x4_getFlagX, 1) \ |
243 V(Uint32x4_getFlagY, 1) \ | 243 V(Uint32x4_getFlagY, 1) \ |
244 V(Uint32x4_getFlagZ, 1) \ | 244 V(Uint32x4_getFlagZ, 1) \ |
245 V(Uint32x4_getFlagW, 1) \ | 245 V(Uint32x4_getFlagW, 1) \ |
246 V(Uint32x4_setFlagX, 2) \ | 246 V(Uint32x4_setFlagX, 2) \ |
247 V(Uint32x4_setFlagY, 2) \ | 247 V(Uint32x4_setFlagY, 2) \ |
248 V(Uint32x4_setFlagZ, 2) \ | 248 V(Uint32x4_setFlagZ, 2) \ |
249 V(Uint32x4_setFlagW, 2) \ | 249 V(Uint32x4_setFlagW, 2) \ |
250 V(Uint32x4_select, 3) \ | 250 V(Uint32x4_select, 3) \ |
251 V(isolate_getPortInternal, 0) \ | 251 V(isolate_getPortInternal, 0) \ |
252 V(isolate_spawnFunction, 2) \ | 252 V(isolate_spawnFunction, 1) \ |
253 V(isolate_spawnUri, 1) \ | 253 V(isolate_spawnUri, 1) \ |
254 V(Mirrors_isLocalPort, 1) \ | 254 V(Mirrors_isLocalPort, 1) \ |
255 V(Mirrors_makeLocalClassMirror, 1) \ | 255 V(Mirrors_makeLocalClassMirror, 1) \ |
256 V(Mirrors_makeLocalTypeMirror, 1) \ | 256 V(Mirrors_makeLocalTypeMirror, 1) \ |
257 V(Mirrors_makeLocalMirrorSystem, 0) \ | 257 V(Mirrors_makeLocalMirrorSystem, 0) \ |
258 V(Mirrors_mangleName, 2) \ | 258 V(Mirrors_mangleName, 2) \ |
259 V(Mirrors_unmangleName, 1) \ | 259 V(Mirrors_unmangleName, 1) \ |
260 V(MirrorReference_equals, 2) \ | 260 V(MirrorReference_equals, 2) \ |
261 V(InstanceMirror_invoke, 5) \ | 261 V(InstanceMirror_invoke, 5) \ |
262 V(InstanceMirror_invokeGetter, 3) \ | 262 V(InstanceMirror_invokeGetter, 3) \ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 static void DN_##name(Dart_NativeArguments args); | 321 static void DN_##name(Dart_NativeArguments args); |
322 | 322 |
323 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 323 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
324 | 324 |
325 #undef DECLARE_BOOTSTRAP_NATIVE | 325 #undef DECLARE_BOOTSTRAP_NATIVE |
326 }; | 326 }; |
327 | 327 |
328 } // namespace dart | 328 } // namespace dart |
329 | 329 |
330 #endif // VM_BOOTSTRAP_NATIVES_H_ | 330 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |