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

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

Issue 1448003002: Add StackTrace.current getter. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address VM comments. Created 5 years 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/stacktrace.cc ('k') | sdk/lib/_internal/js_runtime/lib/core_patch.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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 V(Random_nextState, 1) \ 144 V(Random_nextState, 1) \
145 V(Random_setupSeed, 1) \ 145 V(Random_setupSeed, 1) \
146 V(Random_initialSeed, 0) \ 146 V(Random_initialSeed, 0) \
147 V(SecureRandom_getBytes, 1) \ 147 V(SecureRandom_getBytes, 1) \
148 V(DateNatives_currentTimeMillis, 0) \ 148 V(DateNatives_currentTimeMillis, 0) \
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(StackTrace_current, 0) \
154 V(TypeError_throwNew, 5) \ 155 V(TypeError_throwNew, 5) \
155 V(FallThroughError_throwNew, 1) \ 156 V(FallThroughError_throwNew, 1) \
156 V(AbstractClassInstantiationError_throwNew, 2) \ 157 V(AbstractClassInstantiationError_throwNew, 2) \
157 V(Stopwatch_now, 0) \ 158 V(Stopwatch_now, 0) \
158 V(Stopwatch_frequency, 0) \ 159 V(Stopwatch_frequency, 0) \
159 V(Timeline_getIsolateNum, 0) \ 160 V(Timeline_getIsolateNum, 0) \
160 V(Timeline_getNextAsyncId, 0) \ 161 V(Timeline_getNextAsyncId, 0) \
161 V(Timeline_getTraceClock, 0) \ 162 V(Timeline_getTraceClock, 0) \
162 V(Timeline_reportCompleteEvent, 5) \ 163 V(Timeline_reportCompleteEvent, 5) \
163 V(Timeline_reportInstantEvent, 4) \ 164 V(Timeline_reportInstantEvent, 4) \
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 static void DN_##name(Dart_NativeArguments args); 420 static void DN_##name(Dart_NativeArguments args);
420 421
421 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 422 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
422 423
423 #undef DECLARE_BOOTSTRAP_NATIVE 424 #undef DECLARE_BOOTSTRAP_NATIVE
424 }; 425 };
425 426
426 } // namespace dart 427 } // namespace dart
427 428
428 #endif // VM_BOOTSTRAP_NATIVES_H_ 429 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/stacktrace.cc ('k') | sdk/lib/_internal/js_runtime/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698