| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 V(Math_tan, 1) \ | 114 V(Math_tan, 1) \ |
| 115 V(Math_asin, 1) \ | 115 V(Math_asin, 1) \ |
| 116 V(Math_acos, 1) \ | 116 V(Math_acos, 1) \ |
| 117 V(Math_atan, 1) \ | 117 V(Math_atan, 1) \ |
| 118 V(Math_atan2, 2) \ | 118 V(Math_atan2, 2) \ |
| 119 V(Math_exp, 1) \ | 119 V(Math_exp, 1) \ |
| 120 V(Math_log, 1) \ | 120 V(Math_log, 1) \ |
| 121 V(Math_doublePow, 2) \ | 121 V(Math_doublePow, 2) \ |
| 122 V(Random_nextState, 1) \ | 122 V(Random_nextState, 1) \ |
| 123 V(Random_setupSeed, 2) \ | 123 V(Random_setupSeed, 2) \ |
| 124 V(Random_initialSeed, 0) \ |
| 124 V(DateNatives_currentTimeMillis, 0) \ | 125 V(DateNatives_currentTimeMillis, 0) \ |
| 125 V(DateNatives_timeZoneName, 1) \ | 126 V(DateNatives_timeZoneName, 1) \ |
| 126 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 127 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
| 127 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 128 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
| 128 V(AssertionError_throwNew, 2) \ | 129 V(AssertionError_throwNew, 2) \ |
| 129 V(TypeError_throwNew, 5) \ | 130 V(TypeError_throwNew, 5) \ |
| 130 V(FallThroughError_throwNew, 1) \ | 131 V(FallThroughError_throwNew, 1) \ |
| 131 V(AbstractClassInstantiationError_throwNew, 2) \ | 132 V(AbstractClassInstantiationError_throwNew, 2) \ |
| 132 V(Stacktrace_getFullStacktrace, 1) \ | 133 V(Stacktrace_getFullStacktrace, 1) \ |
| 133 V(Stacktrace_getStacktrace, 1) \ | 134 V(Stacktrace_getStacktrace, 1) \ |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 static void DN_##name(Dart_NativeArguments args); | 358 static void DN_##name(Dart_NativeArguments args); |
| 358 | 359 |
| 359 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 360 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 360 | 361 |
| 361 #undef DECLARE_BOOTSTRAP_NATIVE | 362 #undef DECLARE_BOOTSTRAP_NATIVE |
| 362 }; | 363 }; |
| 363 | 364 |
| 364 } // namespace dart | 365 } // namespace dart |
| 365 | 366 |
| 366 #endif // VM_BOOTSTRAP_NATIVES_H_ | 367 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |