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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 V(StackTrace_current, 0) \ | 155 V(StackTrace_current, 0) \ |
156 V(TypeError_throwNew, 5) \ | 156 V(TypeError_throwNew, 5) \ |
157 V(FallThroughError_throwNew, 1) \ | 157 V(FallThroughError_throwNew, 1) \ |
158 V(AbstractClassInstantiationError_throwNew, 2) \ | 158 V(AbstractClassInstantiationError_throwNew, 2) \ |
159 V(Stopwatch_now, 0) \ | 159 V(Stopwatch_now, 0) \ |
160 V(Stopwatch_frequency, 0) \ | 160 V(Stopwatch_frequency, 0) \ |
161 V(Timeline_getIsolateNum, 0) \ | 161 V(Timeline_getIsolateNum, 0) \ |
162 V(Timeline_getNextAsyncId, 0) \ | 162 V(Timeline_getNextAsyncId, 0) \ |
163 V(Timeline_getTraceClock, 0) \ | 163 V(Timeline_getTraceClock, 0) \ |
164 V(Timeline_getThreadCpuClock, 0) \ | 164 V(Timeline_getThreadCpuClock, 0) \ |
| 165 V(Timline_isDartStreamEnabled, 0) \ |
165 V(Timeline_reportCompleteEvent, 5) \ | 166 V(Timeline_reportCompleteEvent, 5) \ |
166 V(Timeline_reportInstantEvent, 4) \ | 167 V(Timeline_reportInstantEvent, 4) \ |
167 V(Timeline_reportTaskEvent, 6) \ | 168 V(Timeline_reportTaskEvent, 6) \ |
168 V(TypedData_Int8Array_new, 2) \ | 169 V(TypedData_Int8Array_new, 2) \ |
169 V(TypedData_Uint8Array_new, 2) \ | 170 V(TypedData_Uint8Array_new, 2) \ |
170 V(TypedData_Uint8ClampedArray_new, 2) \ | 171 V(TypedData_Uint8ClampedArray_new, 2) \ |
171 V(TypedData_Int16Array_new, 2) \ | 172 V(TypedData_Int16Array_new, 2) \ |
172 V(TypedData_Uint16Array_new, 2) \ | 173 V(TypedData_Uint16Array_new, 2) \ |
173 V(TypedData_Int32Array_new, 2) \ | 174 V(TypedData_Int32Array_new, 2) \ |
174 V(TypedData_Uint32Array_new, 2) \ | 175 V(TypedData_Uint32Array_new, 2) \ |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 #ifndef PRODUCT | 431 #ifndef PRODUCT |
431 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 432 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
432 #endif | 433 #endif |
433 | 434 |
434 #undef DECLARE_BOOTSTRAP_NATIVE | 435 #undef DECLARE_BOOTSTRAP_NATIVE |
435 }; | 436 }; |
436 | 437 |
437 } // namespace dart | 438 } // namespace dart |
438 | 439 |
439 #endif // VM_BOOTSTRAP_NATIVES_H_ | 440 #endif // VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |