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 RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 5 #ifndef RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
6 #define RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 6 #define RUNTIME_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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 V(FallThroughError_throwNew, 1) \ | 165 V(FallThroughError_throwNew, 1) \ |
166 V(AbstractClassInstantiationError_throwNew, 2) \ | 166 V(AbstractClassInstantiationError_throwNew, 2) \ |
167 V(Stopwatch_now, 0) \ | 167 V(Stopwatch_now, 0) \ |
168 V(Stopwatch_frequency, 0) \ | 168 V(Stopwatch_frequency, 0) \ |
169 V(Timeline_getIsolateNum, 0) \ | 169 V(Timeline_getIsolateNum, 0) \ |
170 V(Timeline_getNextAsyncId, 0) \ | 170 V(Timeline_getNextAsyncId, 0) \ |
171 V(Timeline_getTraceClock, 0) \ | 171 V(Timeline_getTraceClock, 0) \ |
172 V(Timeline_getThreadCpuClock, 0) \ | 172 V(Timeline_getThreadCpuClock, 0) \ |
173 V(Timeline_isDartStreamEnabled, 0) \ | 173 V(Timeline_isDartStreamEnabled, 0) \ |
174 V(Timeline_reportCompleteEvent, 5) \ | 174 V(Timeline_reportCompleteEvent, 5) \ |
| 175 V(Timeline_reportFlowEvent, 7) \ |
175 V(Timeline_reportInstantEvent, 4) \ | 176 V(Timeline_reportInstantEvent, 4) \ |
176 V(Timeline_reportTaskEvent, 6) \ | 177 V(Timeline_reportTaskEvent, 6) \ |
177 V(TypedData_Int8Array_new, 2) \ | 178 V(TypedData_Int8Array_new, 2) \ |
178 V(TypedData_Uint8Array_new, 2) \ | 179 V(TypedData_Uint8Array_new, 2) \ |
179 V(TypedData_Uint8ClampedArray_new, 2) \ | 180 V(TypedData_Uint8ClampedArray_new, 2) \ |
180 V(TypedData_Int16Array_new, 2) \ | 181 V(TypedData_Int16Array_new, 2) \ |
181 V(TypedData_Uint16Array_new, 2) \ | 182 V(TypedData_Uint16Array_new, 2) \ |
182 V(TypedData_Int32Array_new, 2) \ | 183 V(TypedData_Int32Array_new, 2) \ |
183 V(TypedData_Uint32Array_new, 2) \ | 184 V(TypedData_Uint32Array_new, 2) \ |
184 V(TypedData_Int64Array_new, 2) \ | 185 V(TypedData_Int64Array_new, 2) \ |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 #if !defined(DART_PRECOMPILED_RUNTIME) | 421 #if !defined(DART_PRECOMPILED_RUNTIME) |
421 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 422 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
422 #endif | 423 #endif |
423 | 424 |
424 #undef DECLARE_BOOTSTRAP_NATIVE | 425 #undef DECLARE_BOOTSTRAP_NATIVE |
425 }; | 426 }; |
426 | 427 |
427 } // namespace dart | 428 } // namespace dart |
428 | 429 |
429 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ | 430 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ |
OLD | NEW |