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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 V(DateNatives_timeZoneName, 1) \ | 149 V(DateNatives_timeZoneName, 1) \ |
150 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 150 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
151 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 151 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
152 V(AssertionError_throwNew, 2) \ | 152 V(AssertionError_throwNew, 2) \ |
153 V(Async_rethrow, 2) \ | 153 V(Async_rethrow, 2) \ |
154 V(TypeError_throwNew, 5) \ | 154 V(TypeError_throwNew, 5) \ |
155 V(FallThroughError_throwNew, 1) \ | 155 V(FallThroughError_throwNew, 1) \ |
156 V(AbstractClassInstantiationError_throwNew, 2) \ | 156 V(AbstractClassInstantiationError_throwNew, 2) \ |
157 V(Stopwatch_now, 0) \ | 157 V(Stopwatch_now, 0) \ |
158 V(Stopwatch_frequency, 0) \ | 158 V(Stopwatch_frequency, 0) \ |
| 159 V(Timeline_getIsolateNum, 0) \ |
159 V(Timeline_getNextAsyncId, 0) \ | 160 V(Timeline_getNextAsyncId, 0) \ |
160 V(Timeline_getTraceClock, 0) \ | 161 V(Timeline_getTraceClock, 0) \ |
161 V(Timeline_reportCompleteEvent, 5) \ | 162 V(Timeline_reportCompleteEvent, 5) \ |
162 V(Timeline_reportTaskEvent, 6) \ | 163 V(Timeline_reportTaskEvent, 6) \ |
163 V(TypedData_Int8Array_new, 1) \ | 164 V(TypedData_Int8Array_new, 1) \ |
164 V(TypedData_Uint8Array_new, 1) \ | 165 V(TypedData_Uint8Array_new, 1) \ |
165 V(TypedData_Uint8ClampedArray_new, 1) \ | 166 V(TypedData_Uint8ClampedArray_new, 1) \ |
166 V(TypedData_Int16Array_new, 1) \ | 167 V(TypedData_Int16Array_new, 1) \ |
167 V(TypedData_Uint16Array_new, 1) \ | 168 V(TypedData_Uint16Array_new, 1) \ |
168 V(TypedData_Int32Array_new, 1) \ | 169 V(TypedData_Int32Array_new, 1) \ |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 static void DN_##name(Dart_NativeArguments args); | 417 static void DN_##name(Dart_NativeArguments args); |
417 | 418 |
418 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 419 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
419 | 420 |
420 #undef DECLARE_BOOTSTRAP_NATIVE | 421 #undef DECLARE_BOOTSTRAP_NATIVE |
421 }; | 422 }; |
422 | 423 |
423 } // namespace dart | 424 } // namespace dart |
424 | 425 |
425 #endif // VM_BOOTSTRAP_NATIVES_H_ | 426 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |