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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 V(Math_asin, 1) \ | 137 V(Math_asin, 1) \ |
138 V(Math_acos, 1) \ | 138 V(Math_acos, 1) \ |
139 V(Math_atan, 1) \ | 139 V(Math_atan, 1) \ |
140 V(Math_atan2, 2) \ | 140 V(Math_atan2, 2) \ |
141 V(Math_exp, 1) \ | 141 V(Math_exp, 1) \ |
142 V(Math_log, 1) \ | 142 V(Math_log, 1) \ |
143 V(Math_doublePow, 2) \ | 143 V(Math_doublePow, 2) \ |
144 V(Random_nextState, 1) \ | 144 V(Random_nextState, 1) \ |
145 V(Random_setupSeed, 1) \ | 145 V(Random_setupSeed, 1) \ |
146 V(Random_initialSeed, 0) \ | 146 V(Random_initialSeed, 0) \ |
| 147 V(SecureRandom_getBytes, 1) \ |
147 V(DateNatives_currentTimeMillis, 0) \ | 148 V(DateNatives_currentTimeMillis, 0) \ |
148 V(DateNatives_timeZoneName, 1) \ | 149 V(DateNatives_timeZoneName, 1) \ |
149 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 150 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
150 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 151 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
151 V(AssertionError_throwNew, 2) \ | 152 V(AssertionError_throwNew, 2) \ |
152 V(Async_rethrow, 2) \ | 153 V(Async_rethrow, 2) \ |
153 V(TypeError_throwNew, 5) \ | 154 V(TypeError_throwNew, 5) \ |
154 V(FallThroughError_throwNew, 1) \ | 155 V(FallThroughError_throwNew, 1) \ |
155 V(AbstractClassInstantiationError_throwNew, 2) \ | 156 V(AbstractClassInstantiationError_throwNew, 2) \ |
156 V(Stopwatch_now, 0) \ | 157 V(Stopwatch_now, 0) \ |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
415 static void DN_##name(Dart_NativeArguments args); | 416 static void DN_##name(Dart_NativeArguments args); |
416 | 417 |
417 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 418 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
418 | 419 |
419 #undef DECLARE_BOOTSTRAP_NATIVE | 420 #undef DECLARE_BOOTSTRAP_NATIVE |
420 }; | 421 }; |
421 | 422 |
422 } // namespace dart | 423 } // namespace dart |
423 | 424 |
424 #endif // VM_BOOTSTRAP_NATIVES_H_ | 425 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |