diff options
Diffstat (limited to 'runtime/stack.cc')
| -rw-r--r-- | runtime/stack.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/stack.cc b/runtime/stack.cc index 333128b8c0..5c6eead34b 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -913,7 +913,9 @@ void StackVisitor::WalkStack(bool include_transitions) { << " next=" << *cur_quick_frame_; } - cur_depth_++; + if (kCount == CountTransitions::kYes || !method->IsRuntimeMethod()) { + cur_depth_++; + } method = *cur_quick_frame_; } } else if (cur_shadow_frame_ != nullptr) { |