From abedfca1db9c15d1bd99e2930c0b4fb2f30f2780 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Thu, 23 May 2019 14:07:47 +0100 Subject: Partially ObjPtr<>-ify HandleScope. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --interpreter Bug: 31113334 Change-Id: I560683b5345bda9df4b22903d032b593d6c2dd4f --- runtime/stack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/stack.cc') diff --git a/runtime/stack.cc b/runtime/stack.cc index 2ea39491c2..6466efdc49 100644 --- a/runtime/stack.cc +++ b/runtime/stack.cc @@ -112,7 +112,7 @@ uint32_t StackVisitor::GetDexPc(bool abort_on_failure) const { extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_); -mirror::Object* StackVisitor::GetThisObject() const { +ObjPtr StackVisitor::GetThisObject() const { DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); ArtMethod* m = GetMethod(); if (m->IsStatic()) { -- cgit v1.2.3-59-g8ed1b