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

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

Issue 12316116: Add functionality to get full stack trace when exceptions are thrown. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 V(Math_exp, 1) \ 99 V(Math_exp, 1) \
100 V(Math_log, 1) \ 100 V(Math_log, 1) \
101 V(DateNatives_currentTimeMillis, 0) \ 101 V(DateNatives_currentTimeMillis, 0) \
102 V(DateNatives_timeZoneName, 1) \ 102 V(DateNatives_timeZoneName, 1) \
103 V(DateNatives_timeZoneOffsetInSeconds, 1) \ 103 V(DateNatives_timeZoneOffsetInSeconds, 1) \
104 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ 104 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \
105 V(AssertionError_throwNew, 2) \ 105 V(AssertionError_throwNew, 2) \
106 V(TypeError_throwNew, 5) \ 106 V(TypeError_throwNew, 5) \
107 V(FallThroughError_throwNew, 1) \ 107 V(FallThroughError_throwNew, 1) \
108 V(AbstractClassInstantiationError_throwNew, 2) \ 108 V(AbstractClassInstantiationError_throwNew, 2) \
109 V(Stacktrace_getFullStacktrace, 1) \
110 V(Stacktrace_getStacktrace, 1) \
111 V(Stacktrace_setupFullStacktrace, 1) \
109 V(Stopwatch_now, 0) \ 112 V(Stopwatch_now, 0) \
110 V(Stopwatch_frequency, 0) \ 113 V(Stopwatch_frequency, 0) \
111 V(Float32x4_fromDoubles, 5) \ 114 V(Float32x4_fromDoubles, 5) \
112 V(Float32x4_zero, 1) \ 115 V(Float32x4_zero, 1) \
113 V(Float32x4_add, 2) \ 116 V(Float32x4_add, 2) \
114 V(Float32x4_negate, 1) \ 117 V(Float32x4_negate, 1) \
115 V(Float32x4_sub, 2) \ 118 V(Float32x4_sub, 2) \
116 V(Float32x4_mul, 2) \ 119 V(Float32x4_mul, 2) \
117 V(Float32x4_div, 2) \ 120 V(Float32x4_div, 2) \
118 V(Float32x4_cmplt, 2) \ 121 V(Float32x4_cmplt, 2) \
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 static void DN_##name(Dart_NativeArguments args); 295 static void DN_##name(Dart_NativeArguments args);
293 296
294 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 297 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
295 298
296 #undef DECLARE_BOOTSTRAP_NATIVE 299 #undef DECLARE_BOOTSTRAP_NATIVE
297 }; 300 };
298 301
299 } // namespace dart 302 } // namespace dart
300 303
301 #endif // VM_BOOTSTRAP_NATIVES_H_ 304 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698