From 423bebb17f15c3867a52315f0ae421f08f14544f Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 26 Mar 2019 15:17:21 +0000 Subject: ObjPtr<>-ify mirror::ObjectArray. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 31113334 Change-Id: I611b3e49d3feed306f6cd35d2b662a1e727e24c6 --- compiler/optimizing/inliner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/optimizing') diff --git a/compiler/optimizing/inliner.cc b/compiler/optimizing/inliner.cc index e7d45a9007..205077fb49 100644 --- a/compiler/optimizing/inliner.cc +++ b/compiler/optimizing/inliner.cc @@ -289,7 +289,7 @@ static uint32_t FindMethodIndexIn(ArtMethod* method, } } -static dex::TypeIndex FindClassIndexIn(mirror::Class* cls, +static dex::TypeIndex FindClassIndexIn(ObjPtr cls, const DexCompilationUnit& compilation_unit) REQUIRES_SHARED(Locks::mutator_lock_) { const DexFile& dex_file = *compilation_unit.GetDexFile(); @@ -368,7 +368,7 @@ HInliner::InlineCacheType HInliner::GetInlineCacheType( } } -static mirror::Class* GetMonomorphicType(Handle> classes) +static ObjPtr GetMonomorphicType(Handle> classes) REQUIRES_SHARED(Locks::mutator_lock_) { DCHECK(classes->Get(0) != nullptr); return classes->Get(0); -- cgit v1.2.3-59-g8ed1b