OSDN Git Service

Deduplicate the code that hardcodes the array header layout.
authorHiroshi Yamauchi <yamauchi@google.com>
Fri, 21 Mar 2014 23:18:30 +0000 (16:18 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 21 Mar 2014 23:27:11 +0000 (16:27 -0700)
commitaa866f51bccc2f017a2e65925748b7a1c701d3f6
tree9fa6ca9147b1e08a0f6798a2a00e2a7324a2df7b
parentfaa93b3ab455492dad1a9d3fb630e3936d389c85
Deduplicate the code that hardcodes the array header layout.

Get rid of HeaderSize() in array-inl.h and use DataOffset() instead.

Bug: 12687968
Change-Id: Ic81cf3fa6bb9b2440d351a73f5fd6a2d6908d15b
runtime/mirror/array-inl.h
runtime/offsets.h