| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 V(Int32x4_setFlagZ, 2) \ | 290 V(Int32x4_setFlagZ, 2) \ |
| 291 V(Int32x4_setFlagW, 2) \ | 291 V(Int32x4_setFlagW, 2) \ |
| 292 V(Int32x4_select, 3) \ | 292 V(Int32x4_select, 3) \ |
| 293 V(Isolate_spawnFunction, 4) \ | 293 V(Isolate_spawnFunction, 4) \ |
| 294 V(Isolate_spawnUri, 6) \ | 294 V(Isolate_spawnUri, 6) \ |
| 295 V(Isolate_getPortAndCapabilitiesOfCurrentIsolate, 0) \ | 295 V(Isolate_getPortAndCapabilitiesOfCurrentIsolate, 0) \ |
| 296 V(Isolate_sendOOB, 2) \ | 296 V(Isolate_sendOOB, 2) \ |
| 297 V(Mirrors_evalInLibraryWithPrivateKey, 2) \ | 297 V(Mirrors_evalInLibraryWithPrivateKey, 2) \ |
| 298 V(Mirrors_makeLocalClassMirror, 1) \ | 298 V(Mirrors_makeLocalClassMirror, 1) \ |
| 299 V(Mirrors_makeLocalTypeMirror, 1) \ | 299 V(Mirrors_makeLocalTypeMirror, 1) \ |
| 300 V(Mirrors_makeLocalMirrorSystem, 0) \ | |
| 301 V(Mirrors_mangleName, 2) \ | 300 V(Mirrors_mangleName, 2) \ |
| 302 V(MirrorReference_equals, 2) \ | 301 V(MirrorReference_equals, 2) \ |
| 302 V(MirrorSystem_libraries, 0) \ |
| 303 V(MirrorSystem_isolate, 0) \ |
| 303 V(InstanceMirror_invoke, 5) \ | 304 V(InstanceMirror_invoke, 5) \ |
| 304 V(InstanceMirror_invokeGetter, 3) \ | 305 V(InstanceMirror_invokeGetter, 3) \ |
| 305 V(InstanceMirror_invokeSetter, 4) \ | 306 V(InstanceMirror_invokeSetter, 4) \ |
| 306 V(InstanceMirror_computeType, 1) \ | 307 V(InstanceMirror_computeType, 1) \ |
| 307 V(ClosureMirror_function, 1) \ | 308 V(ClosureMirror_function, 1) \ |
| 308 V(TypeMirror_subtypeTest, 2) \ | 309 V(TypeMirror_subtypeTest, 2) \ |
| 309 V(TypeMirror_moreSpecificTest, 2) \ | 310 V(TypeMirror_moreSpecificTest, 2) \ |
| 310 V(ClassMirror_libraryUri, 1) \ | 311 V(ClassMirror_libraryUri, 1) \ |
| 311 V(ClassMirror_supertype, 1) \ | 312 V(ClassMirror_supertype, 1) \ |
| 312 V(ClassMirror_supertype_instantiated, 1) \ | 313 V(ClassMirror_supertype_instantiated, 1) \ |
| 313 V(ClassMirror_interfaces, 1) \ | 314 V(ClassMirror_interfaces, 1) \ |
| 314 V(ClassMirror_interfaces_instantiated, 1) \ | 315 V(ClassMirror_interfaces_instantiated, 1) \ |
| 315 V(ClassMirror_mixin, 1) \ | 316 V(ClassMirror_mixin, 1) \ |
| 316 V(ClassMirror_mixin_instantiated, 2) \ | 317 V(ClassMirror_mixin_instantiated, 2) \ |
| 317 V(ClassMirror_members, 3) \ | 318 V(ClassMirror_members, 3) \ |
| 318 V(ClassMirror_constructors, 3) \ | 319 V(ClassMirror_constructors, 3) \ |
| 319 V(LibraryMirror_members, 2) \ | 320 V(LibraryMirror_members, 2) \ |
| 320 V(LibraryMirror_libraryDependencies, 2) \ | 321 V(LibraryMirror_libraryDependencies, 2) \ |
| 321 V(ClassMirror_invoke, 5) \ | 322 V(ClassMirror_invoke, 5) \ |
| 322 V(ClassMirror_invokeGetter, 3) \ | 323 V(ClassMirror_invokeGetter, 3) \ |
| 323 V(ClassMirror_invokeSetter, 4) \ | 324 V(ClassMirror_invokeSetter, 4) \ |
| 324 V(ClassMirror_invokeConstructor, 5) \ | 325 V(ClassMirror_invokeConstructor, 5) \ |
| 325 V(ClassMirror_type_variables, 1) \ | 326 V(ClassMirror_type_variables, 1) \ |
| 326 V(ClassMirror_type_arguments, 1) \ | 327 V(ClassMirror_type_arguments, 1) \ |
| 328 V(LibraryMirror_fromPrefix, 1) \ |
| 327 V(LibraryMirror_invoke, 5) \ | 329 V(LibraryMirror_invoke, 5) \ |
| 328 V(LibraryMirror_invokeGetter, 3) \ | 330 V(LibraryMirror_invokeGetter, 3) \ |
| 329 V(LibraryMirror_invokeSetter, 4) \ | 331 V(LibraryMirror_invokeSetter, 4) \ |
| 330 V(TypeVariableMirror_owner, 1) \ | 332 V(TypeVariableMirror_owner, 1) \ |
| 331 V(TypeVariableMirror_upper_bound, 1) \ | 333 V(TypeVariableMirror_upper_bound, 1) \ |
| 332 V(DeclarationMirror_location, 1) \ | 334 V(DeclarationMirror_location, 1) \ |
| 333 V(DeclarationMirror_metadata, 1) \ | 335 V(DeclarationMirror_metadata, 1) \ |
| 334 V(FunctionTypeMirror_call_method, 2) \ | 336 V(FunctionTypeMirror_call_method, 2) \ |
| 335 V(FunctionTypeMirror_parameters, 2) \ | 337 V(FunctionTypeMirror_parameters, 2) \ |
| 336 V(FunctionTypeMirror_return_type, 2) \ | 338 V(FunctionTypeMirror_return_type, 2) \ |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 390 static void DN_##name(Dart_NativeArguments args); | 392 static void DN_##name(Dart_NativeArguments args); |
| 391 | 393 |
| 392 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 394 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 393 | 395 |
| 394 #undef DECLARE_BOOTSTRAP_NATIVE | 396 #undef DECLARE_BOOTSTRAP_NATIVE |
| 395 }; | 397 }; |
| 396 | 398 |
| 397 } // namespace dart | 399 } // namespace dart |
| 398 | 400 |
| 399 #endif // VM_BOOTSTRAP_NATIVES_H_ | 401 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |