summaryrefslogtreecommitdiff
path: root/runtime/stack.cc
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2016-12-21 09:26:18 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2016-12-21 09:26:18 +0000
commitf6abcda293b115a9d7d8a26376ea2dcf2d1dc510 (patch)
treea30ce596848d14c95a73449dbf2bfccf26a510b9 /runtime/stack.cc
parentce77fc0e7f60a15354bb20c356537cbf8b53b722 (diff)
Revert "Revert "Revert "Basic obsolete methods support"""
Fails in tracing mode Bug: 32369913 Bug: 33630159 This reverts commit ce77fc0e7f60a15354bb20c356537cbf8b53b722. Change-Id: I1bdcf6ad467f2e31f9c5d0c3c987b90a4f5efc69
Diffstat (limited to 'runtime/stack.cc')
-rw-r--r--runtime/stack.cc11
1 files changed, 0 insertions, 11 deletions
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()) {