summaryrefslogtreecommitdiff
path: root/runtime/entrypoints/entrypoint_utils.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-06-04 09:14:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-06-04 09:14:42 +0000
commit9ddef18ae95859a985e7a0de7e22999fcbc28e07 (patch)
treeff38945fc61f1e32717a18b0a6901c5d11c33ccb /runtime/entrypoints/entrypoint_utils.h
parent0366f3251c3078a0161d178e3b0afd5efc4c84c0 (diff)
parentbcf175247272d0e321c8d988c3c01c123b56e36e (diff)
Merge "ObjPtr<>-ify array allocations."
Diffstat (limited to 'runtime/entrypoints/entrypoint_utils.h')
-rw-r--r--runtime/entrypoints/entrypoint_utils.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/entrypoints/entrypoint_utils.h b/runtime/entrypoints/entrypoint_utils.h
index e33de9c45a..1f4475f6ff 100644
--- a/runtime/entrypoints/entrypoint_utils.h
+++ b/runtime/entrypoints/entrypoint_utils.h
@@ -87,11 +87,11 @@ ALWAYS_INLINE inline mirror::Class* CheckArrayAlloc(dex::TypeIndex type_idx,
// When verification/compiler hasn't been able to verify access, optionally perform an access
// check.
template <bool kAccessCheck, bool kInstrumented>
-ALWAYS_INLINE inline mirror::Array* AllocArrayFromCode(dex::TypeIndex type_idx,
- int32_t component_count,
- ArtMethod* method,
- Thread* self,
- gc::AllocatorType allocator_type)
+ALWAYS_INLINE inline ObjPtr<mirror::Array> AllocArrayFromCode(dex::TypeIndex type_idx,
+ int32_t component_count,
+ ArtMethod* method,
+ Thread* self,
+ gc::AllocatorType allocator_type)
REQUIRES_SHARED(Locks::mutator_lock_)
REQUIRES(!Roles::uninterruptible_);