| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 V(MirrorReference_equals, 2) \ | 258 V(MirrorReference_equals, 2) \ |
| 259 V(InstanceMirror_invoke, 5) \ | 259 V(InstanceMirror_invoke, 5) \ |
| 260 V(InstanceMirror_invokeGetter, 3) \ | 260 V(InstanceMirror_invokeGetter, 3) \ |
| 261 V(InstanceMirror_invokeSetter, 4) \ | 261 V(InstanceMirror_invokeSetter, 4) \ |
| 262 V(InstanceMirror_computeType, 1) \ | 262 V(InstanceMirror_computeType, 1) \ |
| 263 V(ClosureMirror_find_in_context, 2) \ | 263 V(ClosureMirror_find_in_context, 2) \ |
| 264 V(ClosureMirror_function, 1) \ | 264 V(ClosureMirror_function, 1) \ |
| 265 V(ClosureMirror_apply, 3) \ | 265 V(ClosureMirror_apply, 3) \ |
| 266 V(ClassMirror_library, 1) \ | 266 V(ClassMirror_library, 1) \ |
| 267 V(ClassMirror_supertype, 1) \ | 267 V(ClassMirror_supertype, 1) \ |
| 268 V(ClassMirror_supertype_instantiated, 1) \ |
| 268 V(ClassMirror_interfaces, 1) \ | 269 V(ClassMirror_interfaces, 1) \ |
| 269 V(ClassMirror_mixin, 1) \ | 270 V(ClassMirror_mixin, 1) \ |
| 270 V(ClassMirror_members, 2) \ | 271 V(ClassMirror_members, 2) \ |
| 271 V(ClassMirror_constructors, 2) \ | 272 V(ClassMirror_constructors, 2) \ |
| 272 V(LibraryMirror_members, 2) \ | 273 V(LibraryMirror_members, 2) \ |
| 273 V(ClassMirror_invoke, 5) \ | 274 V(ClassMirror_invoke, 5) \ |
| 274 V(ClassMirror_invokeGetter, 3) \ | 275 V(ClassMirror_invokeGetter, 3) \ |
| 275 V(ClassMirror_invokeSetter, 4) \ | 276 V(ClassMirror_invokeSetter, 4) \ |
| 276 V(ClassMirror_invokeConstructor, 5) \ | 277 V(ClassMirror_invokeConstructor, 5) \ |
| 277 V(ClassMirror_type_variables, 1) \ | 278 V(ClassMirror_type_variables, 1) \ |
| 278 V(ClassMirror_type_arguments, 1) \ | 279 V(ClassMirror_type_arguments, 1) \ |
| 279 V(LibraryMirror_invoke, 5) \ | 280 V(LibraryMirror_invoke, 5) \ |
| 280 V(LibraryMirror_invokeGetter, 3) \ | 281 V(LibraryMirror_invokeGetter, 3) \ |
| 281 V(LibraryMirror_invokeSetter, 4) \ | 282 V(LibraryMirror_invokeSetter, 4) \ |
| 282 V(TypeVariableMirror_owner, 1) \ | 283 V(TypeVariableMirror_owner, 1) \ |
| 283 V(TypeVariableMirror_upper_bound, 1) \ | 284 V(TypeVariableMirror_upper_bound, 1) \ |
| 285 V(TypeVariableMirror_instantiate_from, 2) \ |
| 284 V(DeclarationMirror_metadata, 1) \ | 286 V(DeclarationMirror_metadata, 1) \ |
| 285 V(FunctionTypeMirror_call_method, 2) \ | 287 V(FunctionTypeMirror_call_method, 2) \ |
| 286 V(FunctionTypeMirror_parameters, 2) \ | 288 V(FunctionTypeMirror_parameters, 2) \ |
| 287 V(FunctionTypeMirror_return_type, 1) \ | 289 V(FunctionTypeMirror_return_type, 1) \ |
| 288 V(MethodMirror_owner, 1) \ | 290 V(MethodMirror_owner, 1) \ |
| 289 V(MethodMirror_parameters, 2) \ | 291 V(MethodMirror_parameters, 2) \ |
| 290 V(MethodMirror_return_type, 1) \ | 292 V(MethodMirror_return_type, 1) \ |
| 291 V(MethodMirror_source, 1) \ | 293 V(MethodMirror_source, 1) \ |
| 292 V(ParameterMirror_type, 2) \ | 294 V(ParameterMirror_type, 2) \ |
| 293 V(TypedefMirror_referent, 1) \ | 295 V(TypedefMirror_referent, 1) \ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 313 static void DN_##name(Dart_NativeArguments args); | 315 static void DN_##name(Dart_NativeArguments args); |
| 314 | 316 |
| 315 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 317 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 316 | 318 |
| 317 #undef DECLARE_BOOTSTRAP_NATIVE | 319 #undef DECLARE_BOOTSTRAP_NATIVE |
| 318 }; | 320 }; |
| 319 | 321 |
| 320 } // namespace dart | 322 } // namespace dart |
| 321 | 323 |
| 322 #endif // VM_BOOTSTRAP_NATIVES_H_ | 324 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |