diff options
Diffstat (limited to 'runtime/mirror/object_array-alloc-inl.h')
-rw-r--r-- | runtime/mirror/object_array-alloc-inl.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/mirror/object_array-alloc-inl.h b/runtime/mirror/object_array-alloc-inl.h index 8e96d9fc19..b417b62b11 100644 --- a/runtime/mirror/object_array-alloc-inl.h +++ b/runtime/mirror/object_array-alloc-inl.h @@ -37,11 +37,11 @@ inline ObjPtr<ObjectArray<T>> ObjectArray<T>::Alloc(Thread* self, ObjPtr<Class> object_array_class, int32_t length, gc::AllocatorType allocator_type) { - ObjPtr<Array> array = Array::Alloc<true>(self, - object_array_class, - length, - ComponentSizeShiftWidth(kHeapReferenceSize), - allocator_type); + ObjPtr<Array> array = Array::Alloc(self, + object_array_class, + length, + ComponentSizeShiftWidth(kHeapReferenceSize), + allocator_type); if (UNLIKELY(array == nullptr)) { return nullptr; } |