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

Unified Diff: runtime/vm/raw_object.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, 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
Index: runtime/vm/raw_object.h
===================================================================
--- runtime/vm/raw_object.h (revision 19105)
+++ runtime/vm/raw_object.h (working copy)
@@ -1562,8 +1562,11 @@
RawArray* function_array_; // Function for each frame in the stack trace.
RawArray* code_array_; // Code object for each frame in the stack trace.
RawArray* pc_offset_array_; // Offset of PC for each frame.
+ RawArray* catch_func_array_; // Func for each frame in catch stack trace.
+ RawArray* catch_code_array_; // Code for each frame in catch stack trace.
+ RawArray* catch_pc_offset_array_; // Offset of PC for each catch stack frame.
RawObject** to() {
- return reinterpret_cast<RawObject**>(&ptr()->pc_offset_array_);
+ return reinterpret_cast<RawObject**>(&ptr()->catch_pc_offset_array_);
}
};

Powered by Google App Engine
This is Rietveld 408576698