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

Unified Diff: runtime/lib/stacktrace.cc

Issue 933623003: - Remove obsolete stack trace functions. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/lib/stacktrace_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/stacktrace.cc
===================================================================
--- runtime/lib/stacktrace.cc (revision 43800)
+++ runtime/lib/stacktrace.cc (working copy)
@@ -10,27 +10,6 @@
namespace dart {
-// Get a full stack trace.
-// Arg0: stack trace object.
-// Return value: String that represents the full stack trace.
-DEFINE_NATIVE_ENTRY(Stacktrace_getFullStacktrace, 1) {
- const Stacktrace& trace =
- Stacktrace::CheckedHandle(arguments->NativeArgAt(0));
- return trace.FullStacktrace();
-}
-
-
-// Get a concise and pertinent stack trace.
-// Arg0: stack trace object.
-// Return value: String that represents the concise and pertinent stack trace.
-DEFINE_NATIVE_ENTRY(Stacktrace_getStacktrace, 1) {
- const Stacktrace& trace =
- Stacktrace::CheckedHandle(arguments->NativeArgAt(0));
- intptr_t frame_index = 0;
- return String::New(trace.ToCStringInternal(&frame_index));
-}
-
-
static void IterateFrames(const GrowableObjectArray& code_list,
const GrowableObjectArray& pc_offset_list) {
StackFrameIterator frames(StackFrameIterator::kDontValidateFrames);
« no previous file with comments | « no previous file | runtime/lib/stacktrace_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698