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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 V(MathNatives_parseInt, 1) \ | 94 V(MathNatives_parseInt, 1) \ |
95 V(MathNatives_parseDouble, 1) \ | 95 V(MathNatives_parseDouble, 1) \ |
96 V(DateNatives_currentTimeMillis, 0) \ | 96 V(DateNatives_currentTimeMillis, 0) \ |
97 V(DateNatives_timeZoneName, 1) \ | 97 V(DateNatives_timeZoneName, 1) \ |
98 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 98 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
99 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 99 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
100 V(AssertionError_throwNew, 2) \ | 100 V(AssertionError_throwNew, 2) \ |
101 V(TypeError_throwNew, 5) \ | 101 V(TypeError_throwNew, 5) \ |
102 V(FallThroughError_throwNew, 1) \ | 102 V(FallThroughError_throwNew, 1) \ |
103 V(AbstractClassInstantiationError_throwNew, 2) \ | 103 V(AbstractClassInstantiationError_throwNew, 2) \ |
104 V(StaticResolutionException_throwNew, 1) \ | 104 V(NoSuchMethodError_throwNew, 2) \ |
105 V(Stopwatch_now, 0) \ | 105 V(Stopwatch_now, 0) \ |
106 V(Stopwatch_frequency, 0) \ | 106 V(Stopwatch_frequency, 0) \ |
107 V(ByteArray_getLength, 1) \ | 107 V(ByteArray_getLength, 1) \ |
108 V(ByteArray_getInt8, 2) \ | 108 V(ByteArray_getInt8, 2) \ |
109 V(ByteArray_setInt8, 3) \ | 109 V(ByteArray_setInt8, 3) \ |
110 V(ByteArray_getUint8, 2) \ | 110 V(ByteArray_getUint8, 2) \ |
111 V(ByteArray_setUint8, 3) \ | 111 V(ByteArray_setUint8, 3) \ |
112 V(ByteArray_getInt16, 2) \ | 112 V(ByteArray_getInt16, 2) \ |
113 V(ByteArray_setInt16, 3) \ | 113 V(ByteArray_setInt16, 3) \ |
114 V(ByteArray_getUint16, 2) \ | 114 V(ByteArray_getUint16, 2) \ |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 static void DN_##name(Dart_NativeArguments args); | 207 static void DN_##name(Dart_NativeArguments args); |
208 | 208 |
209 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 209 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
210 | 210 |
211 #undef DECLARE_BOOTSTRAP_NATIVE | 211 #undef DECLARE_BOOTSTRAP_NATIVE |
212 }; | 212 }; |
213 | 213 |
214 } // namespace dart | 214 } // namespace dart |
215 | 215 |
216 #endif // VM_BOOTSTRAP_NATIVES_H_ | 216 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |