From f6abcda293b115a9d7d8a26376ea2dcf2d1dc510 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Wed, 21 Dec 2016 09:26:18 +0000 Subject: Revert "Revert "Revert "Basic obsolete methods support""" Fails in tracing mode Bug: 32369913 Bug: 33630159 This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722. Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69 --- runtime/stack.cc | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'runtime/stack.cc') diff --git a/runtime/stack.cc b/runtime/stack.cc index f9efc0b88f..3fed7c9458 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -618,17 +618,6 @@ std::string StackVisitor::DescribeLocation() const { return result; } -void StackVisitor::SetMethod(ArtMethod* method) { - DCHECK(GetMethod() != nullptr); - if (cur_shadow_frame_ != nullptr) { - cur_shadow_frame_->SetMethod(method); - } else { - DCHECK(cur_quick_frame_ != nullptr); - CHECK(!IsInInlinedFrame()) << "We do not support setting inlined method's ArtMethod!"; - *cur_quick_frame_ = method; - } -} - static void AssertPcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) REQUIRES_SHARED(Locks::mutator_lock_) { if (method->IsNative() || method->IsRuntimeMethod() || method->IsProxyMethod()) { -- cgit v1.2.3-59-g8ed1b