| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 V(Math_sqrt, 1) \ | 100 V(Math_sqrt, 1) \ |
| 101 V(Math_sin, 1) \ | 101 V(Math_sin, 1) \ |
| 102 V(Math_cos, 1) \ | 102 V(Math_cos, 1) \ |
| 103 V(Math_tan, 1) \ | 103 V(Math_tan, 1) \ |
| 104 V(Math_asin, 1) \ | 104 V(Math_asin, 1) \ |
| 105 V(Math_acos, 1) \ | 105 V(Math_acos, 1) \ |
| 106 V(Math_atan, 1) \ | 106 V(Math_atan, 1) \ |
| 107 V(Math_atan2, 2) \ | 107 V(Math_atan2, 2) \ |
| 108 V(Math_exp, 1) \ | 108 V(Math_exp, 1) \ |
| 109 V(Math_log, 1) \ | 109 V(Math_log, 1) \ |
| 110 V(Random_nextState, 1) \ |
| 111 V(Random_setupSeed, 2) \ |
| 110 V(DateNatives_currentTimeMillis, 0) \ | 112 V(DateNatives_currentTimeMillis, 0) \ |
| 111 V(DateNatives_timeZoneName, 1) \ | 113 V(DateNatives_timeZoneName, 1) \ |
| 112 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 114 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
| 113 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 115 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
| 114 V(AssertionError_throwNew, 2) \ | 116 V(AssertionError_throwNew, 2) \ |
| 115 V(TypeError_throwNew, 5) \ | 117 V(TypeError_throwNew, 5) \ |
| 116 V(FallThroughError_throwNew, 1) \ | 118 V(FallThroughError_throwNew, 1) \ |
| 117 V(AbstractClassInstantiationError_throwNew, 2) \ | 119 V(AbstractClassInstantiationError_throwNew, 2) \ |
| 118 V(Stacktrace_getFullStacktrace, 1) \ | 120 V(Stacktrace_getFullStacktrace, 1) \ |
| 119 V(Stacktrace_getStacktrace, 1) \ | 121 V(Stacktrace_getStacktrace, 1) \ |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 static void DN_##name(Dart_NativeArguments args); | 296 static void DN_##name(Dart_NativeArguments args); |
| 295 | 297 |
| 296 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 298 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 297 | 299 |
| 298 #undef DECLARE_BOOTSTRAP_NATIVE | 300 #undef DECLARE_BOOTSTRAP_NATIVE |
| 299 }; | 301 }; |
| 300 | 302 |
| 301 } // namespace dart | 303 } // namespace dart |
| 302 | 304 |
| 303 #endif // VM_BOOTSTRAP_NATIVES_H_ | 305 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |