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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 V(ClassMirror_invokeGetter, 3) \ | 324 V(ClassMirror_invokeGetter, 3) \ |
325 V(ClassMirror_invokeSetter, 4) \ | 325 V(ClassMirror_invokeSetter, 4) \ |
326 V(ClassMirror_invokeConstructor, 5) \ | 326 V(ClassMirror_invokeConstructor, 5) \ |
327 V(ClassMirror_type_variables, 1) \ | 327 V(ClassMirror_type_variables, 1) \ |
328 V(ClassMirror_type_arguments, 1) \ | 328 V(ClassMirror_type_arguments, 1) \ |
329 V(LibraryMirror_invoke, 5) \ | 329 V(LibraryMirror_invoke, 5) \ |
330 V(LibraryMirror_invokeGetter, 3) \ | 330 V(LibraryMirror_invokeGetter, 3) \ |
331 V(LibraryMirror_invokeSetter, 4) \ | 331 V(LibraryMirror_invokeSetter, 4) \ |
332 V(TypeVariableMirror_owner, 1) \ | 332 V(TypeVariableMirror_owner, 1) \ |
333 V(TypeVariableMirror_upper_bound, 1) \ | 333 V(TypeVariableMirror_upper_bound, 1) \ |
| 334 V(DeclarationMirror_location, 1) \ |
334 V(DeclarationMirror_metadata, 1) \ | 335 V(DeclarationMirror_metadata, 1) \ |
335 V(FunctionTypeMirror_call_method, 2) \ | 336 V(FunctionTypeMirror_call_method, 2) \ |
336 V(FunctionTypeMirror_parameters, 2) \ | 337 V(FunctionTypeMirror_parameters, 2) \ |
337 V(FunctionTypeMirror_return_type, 2) \ | 338 V(FunctionTypeMirror_return_type, 2) \ |
338 V(MethodMirror_owner, 1) \ | 339 V(MethodMirror_owner, 1) \ |
339 V(MethodMirror_parameters, 2) \ | 340 V(MethodMirror_parameters, 2) \ |
340 V(MethodMirror_return_type, 2) \ | 341 V(MethodMirror_return_type, 2) \ |
341 V(MethodMirror_source, 1) \ | 342 V(MethodMirror_source, 1) \ |
342 V(MethodMirror_location, 1) \ | |
343 V(ParameterMirror_type, 3) \ | 343 V(ParameterMirror_type, 3) \ |
344 V(TypedefMirror_referent, 1) \ | 344 V(TypedefMirror_referent, 1) \ |
345 V(TypedefMirror_declaration, 1) \ | 345 V(TypedefMirror_declaration, 1) \ |
346 V(VariableMirror_type, 2) \ | 346 V(VariableMirror_type, 2) \ |
347 V(GrowableList_allocate, 2) \ | 347 V(GrowableList_allocate, 2) \ |
348 V(GrowableList_getIndexed, 2) \ | 348 V(GrowableList_getIndexed, 2) \ |
349 V(GrowableList_setIndexed, 3) \ | 349 V(GrowableList_setIndexed, 3) \ |
350 V(GrowableList_getLength, 1) \ | 350 V(GrowableList_getLength, 1) \ |
351 V(GrowableList_getCapacity, 1) \ | 351 V(GrowableList_getCapacity, 1) \ |
352 V(GrowableList_setLength, 2) \ | 352 V(GrowableList_setLength, 2) \ |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 static void DN_##name(Dart_NativeArguments args); | 391 static void DN_##name(Dart_NativeArguments args); |
392 | 392 |
393 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 393 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
394 | 394 |
395 #undef DECLARE_BOOTSTRAP_NATIVE | 395 #undef DECLARE_BOOTSTRAP_NATIVE |
396 }; | 396 }; |
397 | 397 |
398 } // namespace dart | 398 } // namespace dart |
399 | 399 |
400 #endif // VM_BOOTSTRAP_NATIVES_H_ | 400 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |