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

Unified Diff: runtime/vm/raw_object.h

Issue 23964003: Traverse inlined frames lazily when printing the stacktrace. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 27140)
+++ runtime/vm/raw_object.h (working copy)
@@ -1473,12 +1473,10 @@
RAW_HEAP_OBJECT_IMPLEMENTATION(Stacktrace);
RawObject** from() {
- return reinterpret_cast<RawObject**>(&ptr()->function_array_);
+ return reinterpret_cast<RawObject**>(&ptr()->code_array_);
}
- 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() {

Powered by Google App Engine
This is Rietveld 408576698