Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 1397823002: Add support for emitting asynchronous timeline events from Dart code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/lib/timeline.dart ('k') | sdk/lib/developer/timeline.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 V(DateNatives_timeZoneName, 1) \ 148 V(DateNatives_timeZoneName, 1) \
149 V(DateNatives_timeZoneOffsetInSeconds, 1) \ 149 V(DateNatives_timeZoneOffsetInSeconds, 1) \
150 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ 150 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \
151 V(AssertionError_throwNew, 2) \ 151 V(AssertionError_throwNew, 2) \
152 V(Async_rethrow, 2) \ 152 V(Async_rethrow, 2) \
153 V(TypeError_throwNew, 5) \ 153 V(TypeError_throwNew, 5) \
154 V(FallThroughError_throwNew, 1) \ 154 V(FallThroughError_throwNew, 1) \
155 V(AbstractClassInstantiationError_throwNew, 2) \ 155 V(AbstractClassInstantiationError_throwNew, 2) \
156 V(Stopwatch_now, 0) \ 156 V(Stopwatch_now, 0) \
157 V(Stopwatch_frequency, 0) \ 157 V(Stopwatch_frequency, 0) \
158 V(Timeline_getNextAsyncId, 0) \
158 V(Timeline_getTraceClock, 0) \ 159 V(Timeline_getTraceClock, 0) \
159 V(Timeline_reportCompleteEvent, 5) \ 160 V(Timeline_reportCompleteEvent, 5) \
161 V(Timeline_reportTaskEvent, 6) \
160 V(TypedData_Int8Array_new, 1) \ 162 V(TypedData_Int8Array_new, 1) \
161 V(TypedData_Uint8Array_new, 1) \ 163 V(TypedData_Uint8Array_new, 1) \
162 V(TypedData_Uint8ClampedArray_new, 1) \ 164 V(TypedData_Uint8ClampedArray_new, 1) \
163 V(TypedData_Int16Array_new, 1) \ 165 V(TypedData_Int16Array_new, 1) \
164 V(TypedData_Uint16Array_new, 1) \ 166 V(TypedData_Uint16Array_new, 1) \
165 V(TypedData_Int32Array_new, 1) \ 167 V(TypedData_Int32Array_new, 1) \
166 V(TypedData_Uint32Array_new, 1) \ 168 V(TypedData_Uint32Array_new, 1) \
167 V(TypedData_Int64Array_new, 1) \ 169 V(TypedData_Int64Array_new, 1) \
168 V(TypedData_Uint64Array_new, 1) \ 170 V(TypedData_Uint64Array_new, 1) \
169 V(TypedData_Float32Array_new, 1) \ 171 V(TypedData_Float32Array_new, 1) \
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 static void DN_##name(Dart_NativeArguments args); 415 static void DN_##name(Dart_NativeArguments args);
414 416
415 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 417 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
416 418
417 #undef DECLARE_BOOTSTRAP_NATIVE 419 #undef DECLARE_BOOTSTRAP_NATIVE
418 }; 420 };
419 421
420 } // namespace dart 422 } // namespace dart
421 423
422 #endif // VM_BOOTSTRAP_NATIVES_H_ 424 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/timeline.dart ('k') | sdk/lib/developer/timeline.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698