diff options
author | 2014-04-24 17:30:53 +0000 | |
---|---|---|
committer | 2014-04-24 17:30:53 +0000 | |
commit | 1b4e3d5bc1e2d604adeda4ebbd137f20ee041138 (patch) | |
tree | ee50170508af6ad0a97e54bf7508ef40de686a66 /runtime/mirror/array.h | |
parent | a062d8d0791967e8c4018be5aeb501b9e7a3460c (diff) | |
parent | b5a14d2a6c18c1ea3c019c53b10af2e8f5dea234 (diff) |
Merge "Revert "ART: Extracts an utility function of the duplicated code""
Diffstat (limited to 'runtime/mirror/array.h')
-rw-r--r-- | runtime/mirror/array.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/mirror/array.h b/runtime/mirror/array.h index a9dcfe6aee..772d303360 100644 --- a/runtime/mirror/array.h +++ b/runtime/mirror/array.h @@ -68,12 +68,6 @@ class MANAGED Array : public Object { } } - template<class MirrorType> - static int32_t DataOffsetOfType(uint32_t index) { - return DataOffset(sizeof(HeapReference<MirrorType>)).Int32Value() + - (sizeof(HeapReference<MirrorType>) * index); - } - void* GetRawData(size_t component_size, int32_t index) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { intptr_t data = reinterpret_cast<intptr_t>(this) + DataOffset(component_size).Int32Value() + |