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 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 V(Uint32x4_select, 3) \ | 246 V(Uint32x4_select, 3) \ |
247 V(Uint32x4_toFloat32x4, 1) \ | 247 V(Uint32x4_toFloat32x4, 1) \ |
248 V(isolate_getPortInternal, 0) \ | 248 V(isolate_getPortInternal, 0) \ |
249 V(isolate_spawnFunction, 2) \ | 249 V(isolate_spawnFunction, 2) \ |
250 V(isolate_spawnUri, 1) \ | 250 V(isolate_spawnUri, 1) \ |
251 V(Mirrors_isLocalPort, 1) \ | 251 V(Mirrors_isLocalPort, 1) \ |
252 V(Mirrors_makeLocalClassMirror, 1) \ | 252 V(Mirrors_makeLocalClassMirror, 1) \ |
253 V(Mirrors_makeLocalTypeMirror, 1) \ | 253 V(Mirrors_makeLocalTypeMirror, 1) \ |
254 V(Mirrors_makeLocalMirrorSystem, 0) \ | 254 V(Mirrors_makeLocalMirrorSystem, 0) \ |
255 V(MirrorReference_equals, 2) \ | 255 V(MirrorReference_equals, 2) \ |
| 256 V(InstanceMirror_identityHash, 1) \ |
256 V(InstanceMirror_invoke, 4) \ | 257 V(InstanceMirror_invoke, 4) \ |
257 V(InstanceMirror_invokeGetter, 3) \ | 258 V(InstanceMirror_invokeGetter, 3) \ |
258 V(InstanceMirror_invokeSetter, 4) \ | 259 V(InstanceMirror_invokeSetter, 4) \ |
259 V(ClosureMirror_function, 1) \ | 260 V(ClosureMirror_function, 1) \ |
260 V(ClosureMirror_apply, 2) \ | 261 V(ClosureMirror_apply, 2) \ |
261 V(ClassMirror_name, 1) \ | 262 V(ClassMirror_name, 1) \ |
262 V(ClassMirror_library, 1) \ | 263 V(ClassMirror_library, 1) \ |
263 V(ClassMirror_supertype, 1) \ | 264 V(ClassMirror_supertype, 1) \ |
264 V(ClassMirror_interfaces, 1) \ | 265 V(ClassMirror_interfaces, 1) \ |
265 V(ClassMirror_mixin, 1) \ | 266 V(ClassMirror_mixin, 1) \ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 static void DN_##name(Dart_NativeArguments args); | 310 static void DN_##name(Dart_NativeArguments args); |
310 | 311 |
311 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 312 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
312 | 313 |
313 #undef DECLARE_BOOTSTRAP_NATIVE | 314 #undef DECLARE_BOOTSTRAP_NATIVE |
314 }; | 315 }; |
315 | 316 |
316 } // namespace dart | 317 } // namespace dart |
317 | 318 |
318 #endif // VM_BOOTSTRAP_NATIVES_H_ | 319 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |