summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver-inl.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-10-13 13:48:23 -0700
committerMathieu Chartier <mathieuc@google.com>2016-10-13 17:37:56 -0700
commit1a5337fff2cc6cb9d563c8b32aca75f485d23373 (patch)
tree03616e90a91c5c4c1bd7ff03c3d193c3b24bf0db /compiler/driver/compiler_driver-inl.h
parentc8b722b3cebff245d614e95d1849de45ef7bdf06 (diff)
Move mirror::ObjectArray to ObjPtr
Also reduce calls to ObjPtr::Ptr. Bug: 31113334 Test: test-art-host -j32 Change-Id: I73e1b356972bb079b66332f00f7f07451601044e
Diffstat (limited to 'compiler/driver/compiler_driver-inl.h')
-rw-r--r--compiler/driver/compiler_driver-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver-inl.h b/compiler/driver/compiler_driver-inl.h
index d807fcad96..971151665a 100644
--- a/compiler/driver/compiler_driver-inl.h
+++ b/compiler/driver/compiler_driver-inl.h
@@ -98,7 +98,7 @@ inline std::pair<bool, bool> CompilerDriver::IsFastInstanceField(
DCHECK(!resolved_field->IsStatic());
ObjPtr<mirror::Class> fields_class = resolved_field->GetDeclaringClass();
bool fast_get = referrer_class != nullptr &&
- referrer_class->CanAccessResolvedField(fields_class.Ptr(),
+ referrer_class->CanAccessResolvedField(fields_class,
resolved_field,
dex_cache,
field_idx);