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

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

Issue 2603383004: Sane asynchronous debugging and stack traces (Closed)
Patch Set: rebase Created 3 years, 11 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/vm/ast_transformer.cc ('k') | runtime/vm/compiler.cc » ('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 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.
11 11
12 namespace dart { 12 namespace dart {
13 13
14 // List of bootstrap native entry points used in the core dart library. 14 // List of bootstrap native entry points used in the core dart library.
15 #define BOOTSTRAP_NATIVE_LIST(V) \ 15 #define BOOTSTRAP_NATIVE_LIST(V) \
16 V(AsyncStarMoveNext_debuggerStepCheck, 1) \
16 V(DartCore_fatal, 1) \ 17 V(DartCore_fatal, 1) \
17 V(Object_equals, 2) \ 18 V(Object_equals, 2) \
18 V(Object_getHash, 1) \ 19 V(Object_getHash, 1) \
19 V(Object_setHash, 2) \ 20 V(Object_setHash, 2) \
20 V(Object_toString, 1) \ 21 V(Object_toString, 1) \
21 V(Object_noSuchMethod, 6) \ 22 V(Object_noSuchMethod, 6) \
22 V(Object_runtimeType, 1) \ 23 V(Object_runtimeType, 1) \
23 V(Object_haveSameRuntimeType, 2) \ 24 V(Object_haveSameRuntimeType, 2) \
24 V(Object_instanceOf, 4) \ 25 V(Object_instanceOf, 4) \
25 V(Object_simpleInstanceOf, 2) \ 26 V(Object_simpleInstanceOf, 2) \
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 V(Random_nextState, 1) \ 155 V(Random_nextState, 1) \
155 V(Random_setupSeed, 1) \ 156 V(Random_setupSeed, 1) \
156 V(Random_initialSeed, 0) \ 157 V(Random_initialSeed, 0) \
157 V(SecureRandom_getBytes, 1) \ 158 V(SecureRandom_getBytes, 1) \
158 V(DateTime_currentTimeMicros, 0) \ 159 V(DateTime_currentTimeMicros, 0) \
159 V(DateTime_timeZoneName, 1) \ 160 V(DateTime_timeZoneName, 1) \
160 V(DateTime_timeZoneOffsetInSeconds, 1) \ 161 V(DateTime_timeZoneOffsetInSeconds, 1) \
161 V(DateTime_localTimeZoneAdjustmentInSeconds, 0) \ 162 V(DateTime_localTimeZoneAdjustmentInSeconds, 0) \
162 V(AssertionError_throwNew, 3) \ 163 V(AssertionError_throwNew, 3) \
163 V(Async_rethrow, 2) \ 164 V(Async_rethrow, 2) \
165 V(StackTrace_clearAsyncThreadStackTrace, 0) \
166 V(StackTrace_setAsyncThreadStackTrace, 1) \
164 V(StackTrace_current, 0) \ 167 V(StackTrace_current, 0) \
168 V(StackTrace_forAsyncMethod, 1) \
165 V(TypeError_throwNew, 5) \ 169 V(TypeError_throwNew, 5) \
166 V(FallThroughError_throwNew, 1) \ 170 V(FallThroughError_throwNew, 1) \
167 V(AbstractClassInstantiationError_throwNew, 2) \ 171 V(AbstractClassInstantiationError_throwNew, 2) \
168 V(Stopwatch_now, 0) \ 172 V(Stopwatch_now, 0) \
169 V(Stopwatch_frequency, 0) \ 173 V(Stopwatch_frequency, 0) \
170 V(Timeline_getIsolateNum, 0) \ 174 V(Timeline_getIsolateNum, 0) \
171 V(Timeline_getNextAsyncId, 0) \ 175 V(Timeline_getNextAsyncId, 0) \
172 V(Timeline_getTraceClock, 0) \ 176 V(Timeline_getTraceClock, 0) \
173 V(Timeline_getThreadCpuClock, 0) \ 177 V(Timeline_getThreadCpuClock, 0) \
174 V(Timeline_isDartStreamEnabled, 0) \ 178 V(Timeline_isDartStreamEnabled, 0) \
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 #ifndef PRODUCT 433 #ifndef PRODUCT
430 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 434 MIRRORS_BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
431 #endif 435 #endif
432 436
433 #undef DECLARE_BOOTSTRAP_NATIVE 437 #undef DECLARE_BOOTSTRAP_NATIVE
434 }; 438 };
435 439
436 } // namespace dart 440 } // namespace dart
437 441
438 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_ 442 #endif // RUNTIME_VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/vm/ast_transformer.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698