summaryrefslogtreecommitdiff
path: root/runtime/mirror/array.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-04-24 17:30:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-04-24 17:30:53 +0000
commit1b4e3d5bc1e2d604adeda4ebbd137f20ee041138 (patch)
treeee50170508af6ad0a97e54bf7508ef40de686a66 /runtime/mirror/array.h
parenta062d8d0791967e8c4018be5aeb501b9e7a3460c (diff)
parentb5a14d2a6c18c1ea3c019c53b10af2e8f5dea234 (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.h6
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() +