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

Unified Diff: runtime/vm/exceptions.cc

Issue 23494026: Change inlined stack frame iterator to use code and pc instead of frame. (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/exceptions.cc
===================================================================
--- runtime/vm/exceptions.cc (revision 27137)
+++ runtime/vm/exceptions.cc (working copy)
@@ -204,7 +204,8 @@
if (code.is_optimized()) {
// For optimized frames, extract all the inlined functions if any
// into the stack trace.
- for (InlinedFunctionsIterator it(frame); !it.Done(); it.Advance()) {
+ for (InlinedFunctionsIterator it(code, frame->pc());
+ !it.Done(); it.Advance()) {
func = it.function();
code = it.code();
uword pc = it.pc();

Powered by Google App Engine
This is Rietveld 408576698