| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 V(Uint32x4_setFlagY, 2) \ | 236 V(Uint32x4_setFlagY, 2) \ |
| 237 V(Uint32x4_setFlagZ, 2) \ | 237 V(Uint32x4_setFlagZ, 2) \ |
| 238 V(Uint32x4_setFlagW, 2) \ | 238 V(Uint32x4_setFlagW, 2) \ |
| 239 V(Uint32x4_select, 3) \ | 239 V(Uint32x4_select, 3) \ |
| 240 V(Uint32x4_toFloat32x4, 1) \ | 240 V(Uint32x4_toFloat32x4, 1) \ |
| 241 V(isolate_getPortInternal, 0) \ | 241 V(isolate_getPortInternal, 0) \ |
| 242 V(isolate_spawnFunction, 2) \ | 242 V(isolate_spawnFunction, 2) \ |
| 243 V(isolate_spawnUri, 1) \ | 243 V(isolate_spawnUri, 1) \ |
| 244 V(Mirrors_isLocalPort, 1) \ | 244 V(Mirrors_isLocalPort, 1) \ |
| 245 V(Mirrors_makeLocalClassMirror, 1) \ | 245 V(Mirrors_makeLocalClassMirror, 1) \ |
| 246 V(Mirrors_makeLocalTypeMirror, 1) \ |
| 246 V(Mirrors_makeLocalMirrorSystem, 0) \ | 247 V(Mirrors_makeLocalMirrorSystem, 0) \ |
| 247 V(MirrorReference_equals, 2) \ | 248 V(MirrorReference_equals, 2) \ |
| 248 V(InstanceMirror_invoke, 4) \ | 249 V(InstanceMirror_invoke, 4) \ |
| 249 V(InstanceMirror_invokeGetter, 3) \ | 250 V(InstanceMirror_invokeGetter, 3) \ |
| 250 V(InstanceMirror_invokeSetter, 4) \ | 251 V(InstanceMirror_invokeSetter, 4) \ |
| 251 V(ClosureMirror_function, 1) \ | 252 V(ClosureMirror_function, 1) \ |
| 252 V(ClosureMirror_apply, 2) \ | 253 V(ClosureMirror_apply, 2) \ |
| 253 V(ClassMirror_name, 1) \ | 254 V(ClassMirror_name, 1) \ |
| 254 V(ClassMirror_library, 1) \ | 255 V(ClassMirror_library, 1) \ |
| 255 V(ClassMirror_supertype, 1) \ | 256 V(ClassMirror_supertype, 1) \ |
| 256 V(ClassMirror_interfaces, 1) \ | 257 V(ClassMirror_interfaces, 1) \ |
| 257 V(ClassMirror_members, 2) \ | 258 V(ClassMirror_members, 2) \ |
| 258 V(ClassMirror_constructors, 2) \ | 259 V(ClassMirror_constructors, 2) \ |
| 259 V(LibraryMirror_members, 2) \ | 260 V(LibraryMirror_members, 2) \ |
| 260 V(ClassMirror_invoke, 4) \ | 261 V(ClassMirror_invoke, 4) \ |
| 261 V(ClassMirror_invokeGetter, 3) \ | 262 V(ClassMirror_invokeGetter, 3) \ |
| 262 V(ClassMirror_invokeSetter, 4) \ | 263 V(ClassMirror_invokeSetter, 4) \ |
| 263 V(ClassMirror_invokeConstructor, 3) \ | 264 V(ClassMirror_invokeConstructor, 3) \ |
| 264 V(ClassMirror_type_variables, 1) \ | 265 V(ClassMirror_type_variables, 1) \ |
| 266 V(ClassMirror_type_arguments, 1) \ |
| 265 V(LibraryMirror_invoke, 4) \ | 267 V(LibraryMirror_invoke, 4) \ |
| 266 V(LibraryMirror_invokeGetter, 3) \ | 268 V(LibraryMirror_invokeGetter, 3) \ |
| 267 V(LibraryMirror_invokeSetter, 4) \ | 269 V(LibraryMirror_invokeSetter, 4) \ |
| 268 V(LocalTypeVariableMirror_owner, 1) \ | 270 V(TypeVariableMirror_owner, 1) \ |
| 269 V(LocalTypeVariableMirror_upper_bound, 1) \ | 271 V(TypeVariableMirror_upper_bound, 1) \ |
| 270 V(DeclarationMirror_metadata, 1) \ | 272 V(DeclarationMirror_metadata, 1) \ |
| 271 V(FunctionTypeMirror_parameters, 1) \ | 273 V(FunctionTypeMirror_parameters, 1) \ |
| 272 V(FunctionTypeMirror_return_type, 1) \ | 274 V(FunctionTypeMirror_return_type, 1) \ |
| 273 V(MethodMirror_owner, 1) \ | 275 V(MethodMirror_owner, 1) \ |
| 274 V(MethodMirror_parameters, 1) \ | 276 V(MethodMirror_parameters, 1) \ |
| 275 V(MethodMirror_return_type, 1) \ | 277 V(MethodMirror_return_type, 1) \ |
| 276 V(ParameterMirror_type, 2) \ | 278 V(ParameterMirror_type, 2) \ |
| 277 V(TypedefMirror_referent, 1) \ | 279 V(TypedefMirror_referent, 1) \ |
| 278 V(VariableMirror_type, 1) \ | 280 V(VariableMirror_type, 1) \ |
| 279 V(GrowableObjectArray_allocate, 2) \ | 281 V(GrowableObjectArray_allocate, 2) \ |
| (...skipping 17 matching lines...) Expand all Loading... |
| 297 static void DN_##name(Dart_NativeArguments args); | 299 static void DN_##name(Dart_NativeArguments args); |
| 298 | 300 |
| 299 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 301 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 300 | 302 |
| 301 #undef DECLARE_BOOTSTRAP_NATIVE | 303 #undef DECLARE_BOOTSTRAP_NATIVE |
| 302 }; | 304 }; |
| 303 | 305 |
| 304 } // namespace dart | 306 } // namespace dart |
| 305 | 307 |
| 306 #endif // VM_BOOTSTRAP_NATIVES_H_ | 308 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |