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

Unified Diff: vm/object.h

Issue 10824128: Eagerly get the function and code corresponding to the frame elements in a stack trace so that we w… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 5 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
« vm/exceptions.cc ('K') | « vm/exceptions.cc ('k') | vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/object.h
===================================================================
--- vm/object.h (revision 10127)
+++ vm/object.h (working copy)
@@ -5011,12 +5011,16 @@
RawFunction* FunctionAtFrame(intptr_t frame_index) const;
RawCode* CodeAtFrame(intptr_t frame_index) const;
RawSmi* PcOffsetAtFrame(intptr_t frame_index) const;
- void Append(const GrowableArray<uword>& stack_frame_pcs) const;
+ void Append(const GrowableArray<uword>& stack_frame_pcs,
+ const GrowableObjectArray& func_list,
+ const GrowableObjectArray& code_list) const;
static intptr_t InstanceSize() {
return RoundedAllocationSize(sizeof(RawStacktrace));
}
static RawStacktrace* New(const GrowableArray<uword>& stack_frame_pcs,
+ const GrowableObjectArray& func_list,
+ const GrowableObjectArray& code_list,
Heap::Space space = Heap::kNew);
const char* ToCStringInternal(bool verbose) const;
« vm/exceptions.cc ('K') | « vm/exceptions.cc ('k') | vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698