diff options
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r-- | runtime/stack.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index fcd0f2d..f4ae81d 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -289,7 +289,6 @@ void StackVisitor::WalkStack(bool include_transitions) { DCHECK(current_fragment->GetTopShadowFrame() == NULL); mirror::AbstractMethod* method = *cur_quick_frame_; while (method != NULL) { - DCHECK(cur_quick_frame_pc_ != GetInstrumentationExitPc()); SanityCheckFrame(); bool should_continue = VisitFrame(); if (UNLIKELY(!should_continue)) { @@ -312,9 +311,7 @@ void StackVisitor::WalkStack(bool include_transitions) { instrumentation_stack_depth++; if (instrumentation_frame.interpreter_entry_) { mirror::AbstractMethod* callee = Runtime::Current()->GetCalleeSaveMethod(Runtime::kRefsAndArgs); - if (GetMethod() != callee) { - LOG(FATAL) << "Expected: " << callee << " Found: " << PrettyMethod(GetMethod()); - } + CHECK_EQ(GetMethod(), callee); } else if (instrumentation_frame.method_ != GetMethod()) { LOG(FATAL) << "Expected: " << PrettyMethod(instrumentation_frame.method_) << " Found: " << PrettyMethod(GetMethod()); |