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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(Math_sqrt, 1) \ | 85 V(Math_sqrt, 1) \ |
86 V(Math_sin, 1) \ | 86 V(Math_sin, 1) \ |
87 V(Math_cos, 1) \ | 87 V(Math_cos, 1) \ |
88 V(Math_tan, 1) \ | 88 V(Math_tan, 1) \ |
89 V(Math_asin, 1) \ | 89 V(Math_asin, 1) \ |
90 V(Math_acos, 1) \ | 90 V(Math_acos, 1) \ |
91 V(Math_atan, 1) \ | 91 V(Math_atan, 1) \ |
92 V(Math_atan2, 2) \ | 92 V(Math_atan2, 2) \ |
93 V(Math_exp, 1) \ | 93 V(Math_exp, 1) \ |
94 V(Math_log, 1) \ | 94 V(Math_log, 1) \ |
95 V(Math_random, 0) \ | |
96 V(DateNatives_currentTimeMillis, 0) \ | 95 V(DateNatives_currentTimeMillis, 0) \ |
97 V(DateNatives_timeZoneName, 1) \ | 96 V(DateNatives_timeZoneName, 1) \ |
98 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 97 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
99 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 98 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
100 V(AssertionError_throwNew, 2) \ | 99 V(AssertionError_throwNew, 2) \ |
101 V(TypeError_throwNew, 5) \ | 100 V(TypeError_throwNew, 5) \ |
102 V(FallThroughError_throwNew, 1) \ | 101 V(FallThroughError_throwNew, 1) \ |
103 V(AbstractClassInstantiationError_throwNew, 2) \ | 102 V(AbstractClassInstantiationError_throwNew, 2) \ |
104 V(NoSuchMethodError_throwNew, 2) \ | 103 V(NoSuchMethodError_throwNew, 2) \ |
105 V(Stopwatch_now, 0) \ | 104 V(Stopwatch_now, 0) \ |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 static void DN_##name(Dart_NativeArguments args); | 206 static void DN_##name(Dart_NativeArguments args); |
208 | 207 |
209 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 208 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
210 | 209 |
211 #undef DECLARE_BOOTSTRAP_NATIVE | 210 #undef DECLARE_BOOTSTRAP_NATIVE |
212 }; | 211 }; |
213 | 212 |
214 } // namespace dart | 213 } // namespace dart |
215 | 214 |
216 #endif // VM_BOOTSTRAP_NATIVES_H_ | 215 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |