diff options
| author | 2019-05-23 14:07:47 +0100 | |
|---|---|---|
| committer | 2019-05-24 08:41:54 +0000 | |
| commit | abedfca1db9c15d1bd99e2930c0b4fb2f30f2780 (patch) | |
| tree | e7e9f6855d95804ad3a57e4a933bb8e135ca3344 /runtime/stack.cc | |
| parent | 5bf2dbdceec5fd84470606b7c3e38aad620e6d51 (diff) | |
Partially ObjPtr<>-ify HandleScope.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --interpreter
Bug: 31113334
Change-Id: I560683b5345bda9df4b22903d032b593d6c2dd4f
Diffstat (limited to 'runtime/stack.cc')
| -rw-r--r-- | runtime/stack.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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<mirror::Object> StackVisitor::GetThisObject() const { DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); ArtMethod* m = GetMethod(); if (m->IsStatic()) { |