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

Unified Diff: runtime/vm/simulator_mips.cc

Issue 2845053003: Fix asserts in StackFrameIterator which were effectively disabled (Closed)
Patch Set: remote two assertions which cannot be made Created 3 years, 8 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/simulator_mips.cc
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc
index f3c325f9e1a2a8aee6a0ba94b8f507bdd7163e2a..f3e6a9b19f58d33889c249ae6aedc33c2d42e2db 100644
--- a/runtime/vm/simulator_mips.cc
+++ b/runtime/vm/simulator_mips.cc
@@ -281,9 +281,9 @@ void SimulatorDebugger::PrintDartFrame(uword pc,
void SimulatorDebugger::PrintBacktrace() {
- StackFrameIterator frames(sim_->get_register(FP), sim_->get_register(SP),
- sim_->get_pc(),
- StackFrameIterator::kDontValidateFrames);
+ StackFrameIterator frames(
+ sim_->get_register(FP), sim_->get_register(SP), sim_->get_pc(),
+ StackFrameIterator::kDontValidateFrames, Thread::Current(), false);
StackFrame* frame = frames.NextFrame();
ASSERT(frame != NULL);
Function& function = Function::Handle();

Powered by Google App Engine
This is Rietveld 408576698