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 RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 6 #define RUNTIME_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 384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 V(LibraryMirror_fromPrefix, 1) \ | 395 V(LibraryMirror_fromPrefix, 1) \ |
396 V(LibraryMirror_invoke, 5) \ | 396 V(LibraryMirror_invoke, 5) \ |
397 V(LibraryMirror_invokeGetter, 3) \ | 397 V(LibraryMirror_invokeGetter, 3) \ |
398 V(LibraryMirror_invokeSetter, 4) \ | 398 V(LibraryMirror_invokeSetter, 4) \ |
399 V(TypeVariableMirror_owner, 1) \ | 399 V(TypeVariableMirror_owner, 1) \ |
400 V(TypeVariableMirror_upper_bound, 1) \ | 400 V(TypeVariableMirror_upper_bound, 1) \ |
401 V(DeclarationMirror_location, 1) \ | 401 V(DeclarationMirror_location, 1) \ |
402 V(DeclarationMirror_metadata, 1) \ | 402 V(DeclarationMirror_metadata, 1) \ |
403 V(FunctionTypeMirror_call_method, 2) \ | 403 V(FunctionTypeMirror_call_method, 2) \ |
404 V(FunctionTypeMirror_parameters, 2) \ | 404 V(FunctionTypeMirror_parameters, 2) \ |
405 V(FunctionTypeMirror_return_type, 2) \ | 405 V(FunctionTypeMirror_return_type, 1) \ |
406 V(MethodMirror_owner, 2) \ | 406 V(MethodMirror_owner, 2) \ |
407 V(MethodMirror_parameters, 2) \ | 407 V(MethodMirror_parameters, 2) \ |
408 V(MethodMirror_return_type, 2) \ | 408 V(MethodMirror_return_type, 2) \ |
409 V(MethodMirror_source, 1) \ | 409 V(MethodMirror_source, 1) \ |
410 V(ParameterMirror_type, 3) \ | 410 V(ParameterMirror_type, 3) \ |
411 V(TypedefMirror_referent, 1) \ | 411 V(TypedefMirror_referent, 1) \ |
412 V(TypedefMirror_declaration, 1) \ | 412 V(TypedefMirror_declaration, 1) \ |
413 V(VariableMirror_type, 2) | 413 V(VariableMirror_type, 2) |
414 | 414 |
415 class BootstrapNatives : public AllStatic { | 415 class BootstrapNatives : public AllStatic { |
(...skipping 11 matching lines...) Expand all Loading... |
427 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) | 427 #if !defined(PRODUCT) && !defined(DART_PRECOMPILED_RUNTIME) |
428 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 428 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
429 #endif | 429 #endif |
430 | 430 |
431 #undef DECLARE_BOOTSTRAP_NATIVE | 431 #undef DECLARE_BOOTSTRAP_NATIVE |
432 }; | 432 }; |
433 | 433 |
434 } // namespace dart | 434 } // namespace dart |
435 | 435 |
436 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 436 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |