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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 V(ClosureMirror_function, 1) \ | 307 V(ClosureMirror_function, 1) \ |
308 V(TypeMirror_subtypeTest, 2) \ | 308 V(TypeMirror_subtypeTest, 2) \ |
309 V(TypeMirror_moreSpecificTest, 2) \ | 309 V(TypeMirror_moreSpecificTest, 2) \ |
310 V(ClassMirror_library, 1) \ | 310 V(ClassMirror_library, 1) \ |
311 V(ClassMirror_supertype, 1) \ | 311 V(ClassMirror_supertype, 1) \ |
312 V(ClassMirror_supertype_instantiated, 1) \ | 312 V(ClassMirror_supertype_instantiated, 1) \ |
313 V(ClassMirror_interfaces, 1) \ | 313 V(ClassMirror_interfaces, 1) \ |
314 V(ClassMirror_interfaces_instantiated, 1) \ | 314 V(ClassMirror_interfaces_instantiated, 1) \ |
315 V(ClassMirror_mixin, 1) \ | 315 V(ClassMirror_mixin, 1) \ |
316 V(ClassMirror_mixin_instantiated, 2) \ | 316 V(ClassMirror_mixin_instantiated, 2) \ |
317 V(ClassMirror_members, 2) \ | 317 V(ClassMirror_members, 3) \ |
318 V(ClassMirror_constructors, 2) \ | 318 V(ClassMirror_constructors, 3) \ |
319 V(LibraryMirror_members, 2) \ | 319 V(LibraryMirror_members, 2) \ |
320 V(LibraryMirror_libraryDependencies, 2) \ | 320 V(LibraryMirror_libraryDependencies, 2) \ |
321 V(ClassMirror_invoke, 5) \ | 321 V(ClassMirror_invoke, 5) \ |
322 V(ClassMirror_invokeGetter, 3) \ | 322 V(ClassMirror_invokeGetter, 3) \ |
323 V(ClassMirror_invokeSetter, 4) \ | 323 V(ClassMirror_invokeSetter, 4) \ |
324 V(ClassMirror_invokeConstructor, 5) \ | 324 V(ClassMirror_invokeConstructor, 5) \ |
325 V(ClassMirror_type_variables, 1) \ | 325 V(ClassMirror_type_variables, 1) \ |
326 V(ClassMirror_type_arguments, 1) \ | 326 V(ClassMirror_type_arguments, 1) \ |
327 V(LibraryMirror_invoke, 5) \ | 327 V(LibraryMirror_invoke, 5) \ |
328 V(LibraryMirror_invokeGetter, 3) \ | 328 V(LibraryMirror_invokeGetter, 3) \ |
329 V(LibraryMirror_invokeSetter, 4) \ | 329 V(LibraryMirror_invokeSetter, 4) \ |
330 V(TypeVariableMirror_owner, 1) \ | 330 V(TypeVariableMirror_owner, 1) \ |
331 V(TypeVariableMirror_upper_bound, 1) \ | 331 V(TypeVariableMirror_upper_bound, 1) \ |
332 V(DeclarationMirror_location, 1) \ | 332 V(DeclarationMirror_location, 1) \ |
333 V(DeclarationMirror_metadata, 1) \ | 333 V(DeclarationMirror_metadata, 1) \ |
334 V(FunctionTypeMirror_call_method, 2) \ | 334 V(FunctionTypeMirror_call_method, 2) \ |
335 V(FunctionTypeMirror_parameters, 2) \ | 335 V(FunctionTypeMirror_parameters, 2) \ |
336 V(FunctionTypeMirror_return_type, 2) \ | 336 V(FunctionTypeMirror_return_type, 2) \ |
337 V(MethodMirror_owner, 1) \ | 337 V(MethodMirror_owner, 2) \ |
338 V(MethodMirror_parameters, 2) \ | 338 V(MethodMirror_parameters, 2) \ |
339 V(MethodMirror_return_type, 2) \ | 339 V(MethodMirror_return_type, 2) \ |
340 V(MethodMirror_source, 1) \ | 340 V(MethodMirror_source, 1) \ |
341 V(ParameterMirror_type, 3) \ | 341 V(ParameterMirror_type, 3) \ |
342 V(TypedefMirror_referent, 1) \ | 342 V(TypedefMirror_referent, 1) \ |
343 V(TypedefMirror_declaration, 1) \ | 343 V(TypedefMirror_declaration, 1) \ |
344 V(VariableMirror_type, 2) \ | 344 V(VariableMirror_type, 2) \ |
345 V(GrowableList_allocate, 2) \ | 345 V(GrowableList_allocate, 2) \ |
346 V(GrowableList_getIndexed, 2) \ | 346 V(GrowableList_getIndexed, 2) \ |
347 V(GrowableList_setIndexed, 3) \ | 347 V(GrowableList_setIndexed, 3) \ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 static void DN_##name(Dart_NativeArguments args); | 389 static void DN_##name(Dart_NativeArguments args); |
390 | 390 |
391 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 391 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
392 | 392 |
393 #undef DECLARE_BOOTSTRAP_NATIVE | 393 #undef DECLARE_BOOTSTRAP_NATIVE |
394 }; | 394 }; |
395 | 395 |
396 } // namespace dart | 396 } // namespace dart |
397 | 397 |
398 #endif // VM_BOOTSTRAP_NATIVES_H_ | 398 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |