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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 V(Uint32x4_toFloat32x4, 1) \ | 247 V(Uint32x4_toFloat32x4, 1) \ |
248 V(isolate_getPortInternal, 0) \ | 248 V(isolate_getPortInternal, 0) \ |
249 V(isolate_spawnFunction, 2) \ | 249 V(isolate_spawnFunction, 2) \ |
250 V(isolate_spawnUri, 1) \ | 250 V(isolate_spawnUri, 1) \ |
251 V(Mirrors_isLocalPort, 1) \ | 251 V(Mirrors_isLocalPort, 1) \ |
252 V(Mirrors_makeLocalClassMirror, 1) \ | 252 V(Mirrors_makeLocalClassMirror, 1) \ |
253 V(Mirrors_makeLocalTypeMirror, 1) \ | 253 V(Mirrors_makeLocalTypeMirror, 1) \ |
254 V(Mirrors_makeLocalMirrorSystem, 0) \ | 254 V(Mirrors_makeLocalMirrorSystem, 0) \ |
255 V(MirrorReference_equals, 2) \ | 255 V(MirrorReference_equals, 2) \ |
256 V(InstanceMirror_identityHash, 1) \ | 256 V(InstanceMirror_identityHash, 1) \ |
257 V(InstanceMirror_invoke, 4) \ | 257 V(InstanceMirror_invoke, 5) \ |
258 V(InstanceMirror_invokeGetter, 3) \ | 258 V(InstanceMirror_invokeGetter, 3) \ |
259 V(InstanceMirror_invokeSetter, 4) \ | 259 V(InstanceMirror_invokeSetter, 4) \ |
260 V(ClosureMirror_function, 1) \ | 260 V(ClosureMirror_function, 1) \ |
261 V(ClosureMirror_apply, 2) \ | 261 V(ClosureMirror_apply, 3) \ |
262 V(ClassMirror_name, 1) \ | 262 V(ClassMirror_name, 1) \ |
263 V(ClassMirror_library, 1) \ | 263 V(ClassMirror_library, 1) \ |
264 V(ClassMirror_supertype, 1) \ | 264 V(ClassMirror_supertype, 1) \ |
265 V(ClassMirror_interfaces, 1) \ | 265 V(ClassMirror_interfaces, 1) \ |
266 V(ClassMirror_mixin, 1) \ | 266 V(ClassMirror_mixin, 1) \ |
267 V(ClassMirror_members, 2) \ | 267 V(ClassMirror_members, 2) \ |
268 V(ClassMirror_constructors, 2) \ | 268 V(ClassMirror_constructors, 2) \ |
269 V(LibraryMirror_members, 2) \ | 269 V(LibraryMirror_members, 2) \ |
270 V(ClassMirror_invoke, 4) \ | 270 V(ClassMirror_invoke, 5) \ |
271 V(ClassMirror_invokeGetter, 3) \ | 271 V(ClassMirror_invokeGetter, 3) \ |
272 V(ClassMirror_invokeSetter, 4) \ | 272 V(ClassMirror_invokeSetter, 4) \ |
273 V(ClassMirror_invokeConstructor, 3) \ | 273 V(ClassMirror_invokeConstructor, 4) \ |
274 V(ClassMirror_type_variables, 1) \ | 274 V(ClassMirror_type_variables, 1) \ |
275 V(ClassMirror_type_arguments, 1) \ | 275 V(ClassMirror_type_arguments, 1) \ |
276 V(LibraryMirror_invoke, 4) \ | 276 V(LibraryMirror_invoke, 5) \ |
277 V(LibraryMirror_invokeGetter, 3) \ | 277 V(LibraryMirror_invokeGetter, 3) \ |
278 V(LibraryMirror_invokeSetter, 4) \ | 278 V(LibraryMirror_invokeSetter, 4) \ |
279 V(TypeVariableMirror_owner, 1) \ | 279 V(TypeVariableMirror_owner, 1) \ |
280 V(TypeVariableMirror_upper_bound, 1) \ | 280 V(TypeVariableMirror_upper_bound, 1) \ |
281 V(DeclarationMirror_metadata, 1) \ | 281 V(DeclarationMirror_metadata, 1) \ |
282 V(FunctionTypeMirror_call_method, 2) \ | 282 V(FunctionTypeMirror_call_method, 2) \ |
283 V(FunctionTypeMirror_parameters, 2) \ | 283 V(FunctionTypeMirror_parameters, 2) \ |
284 V(FunctionTypeMirror_return_type, 1) \ | 284 V(FunctionTypeMirror_return_type, 1) \ |
285 V(MethodMirror_owner, 1) \ | 285 V(MethodMirror_owner, 1) \ |
286 V(MethodMirror_parameters, 2) \ | 286 V(MethodMirror_parameters, 2) \ |
(...skipping 23 matching lines...) Expand all Loading... |
310 static void DN_##name(Dart_NativeArguments args); | 310 static void DN_##name(Dart_NativeArguments args); |
311 | 311 |
312 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 312 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
313 | 313 |
314 #undef DECLARE_BOOTSTRAP_NATIVE | 314 #undef DECLARE_BOOTSTRAP_NATIVE |
315 }; | 315 }; |
316 | 316 |
317 } // namespace dart | 317 } // namespace dart |
318 | 318 |
319 #endif // VM_BOOTSTRAP_NATIVES_H_ | 319 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |