| 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 RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
| 6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 6 #define RUNTIME_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(AsyncStarMoveNext_debuggerStepCheck, 1) \ | 16 V(AsyncStarMoveNext_debuggerStepCheck, 1) \ |
| 17 V(DartAsync_fatal, 1) \ | 17 V(DartAsync_fatal, 1) \ |
| 18 V(Object_equals, 2) \ | 18 V(Object_equals, 2) \ |
| 19 V(Object_getHash, 1) \ | 19 V(Object_getHash, 1) \ |
| 20 V(Object_setHash, 2) \ | 20 V(Object_setHash, 2) \ |
| 21 V(Object_toString, 1) \ | 21 V(Object_toString, 1) \ |
| 22 V(Object_noSuchMethod, 6) \ | 22 V(Object_noSuchMethod, 6) \ |
| 23 V(Object_runtimeType, 1) \ | 23 V(Object_runtimeType, 1) \ |
| 24 V(Object_haveSameRuntimeType, 2) \ | 24 V(Object_haveSameRuntimeType, 2) \ |
| 25 V(Object_instanceOf, 4) \ | 25 V(Object_instanceOf, 4) \ |
| 26 V(Object_simpleInstanceOf, 2) \ | 26 V(Object_simpleInstanceOf, 2) \ |
| 27 V(Object_as, 4) \ | 27 V(Object_as, 4) \ |
| 28 V(Function_apply, 2) \ | 28 V(Function_apply, 2) \ |
| 29 V(Closure_equals, 2) \ | 29 V(Closure_equals, 2) \ |
| 30 V(Closure_hashCode, 1) \ | 30 V(Closure_computeHash, 1) \ |
| 31 V(Closure_clone, 1) \ | 31 V(Closure_clone, 1) \ |
| 32 V(AbstractType_toString, 1) \ | 32 V(AbstractType_toString, 1) \ |
| 33 V(Identical_comparison, 2) \ | 33 V(Identical_comparison, 2) \ |
| 34 V(Integer_bitAndFromInteger, 2) \ | 34 V(Integer_bitAndFromInteger, 2) \ |
| 35 V(Integer_bitOrFromInteger, 2) \ | 35 V(Integer_bitOrFromInteger, 2) \ |
| 36 V(Integer_bitXorFromInteger, 2) \ | 36 V(Integer_bitXorFromInteger, 2) \ |
| 37 V(Integer_addFromInteger, 2) \ | 37 V(Integer_addFromInteger, 2) \ |
| 38 V(Integer_subFromInteger, 2) \ | 38 V(Integer_subFromInteger, 2) \ |
| 39 V(Integer_mulFromInteger, 2) \ | 39 V(Integer_mulFromInteger, 2) \ |
| 40 V(Integer_truncDivFromInteger, 2) \ | 40 V(Integer_truncDivFromInteger, 2) \ |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 #if !defined(DART_PRECOMPILED_RUNTIME) | 420 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 421 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 421 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 422 #endif | 422 #endif |
| 423 | 423 |
| 424 #undef DECLARE_BOOTSTRAP_NATIVE | 424 #undef DECLARE_BOOTSTRAP_NATIVE |
| 425 }; | 425 }; |
| 426 | 426 |
| 427 } // namespace dart | 427 } // namespace dart |
| 428 | 428 |
| 429 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 429 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |