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. |
11 | 11 |
12 namespace dart { | 12 namespace dart { |
13 | 13 |
14 // List of bootstrap native entry points used in the core dart library. | 14 // List of bootstrap native entry points used in the core dart library. |
15 #define BOOTSTRAP_NATIVE_LIST(V) \ | 15 #define BOOTSTRAP_NATIVE_LIST(V) \ |
| 16 V(Object_getHash, 1) \ |
| 17 V(Object_setHash, 2) \ |
16 V(Object_toString, 1) \ | 18 V(Object_toString, 1) \ |
17 V(Object_noSuchMethod, 6) \ | 19 V(Object_noSuchMethod, 6) \ |
18 V(Object_runtimeType, 1) \ | 20 V(Object_runtimeType, 1) \ |
19 V(Object_instanceOf, 5) \ | 21 V(Object_instanceOf, 5) \ |
20 V(Object_as, 4) \ | 22 V(Object_as, 4) \ |
21 V(Object_cid, 1) \ | 23 V(Object_cid, 1) \ |
22 V(Function_apply, 2) \ | 24 V(Function_apply, 2) \ |
23 V(InvocationMirror_invoke, 4) \ | 25 V(InvocationMirror_invoke, 4) \ |
24 V(AbstractType_toString, 1) \ | 26 V(AbstractType_toString, 1) \ |
25 V(Identical_comparison, 2) \ | 27 V(Identical_comparison, 2) \ |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 static void DN_##name(Dart_NativeArguments args); | 265 static void DN_##name(Dart_NativeArguments args); |
264 | 266 |
265 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 267 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
266 | 268 |
267 #undef DECLARE_BOOTSTRAP_NATIVE | 269 #undef DECLARE_BOOTSTRAP_NATIVE |
268 }; | 270 }; |
269 | 271 |
270 } // namespace dart | 272 } // namespace dart |
271 | 273 |
272 #endif // VM_BOOTSTRAP_NATIVES_H_ | 274 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |