commit | 973cc95da6fb617bab133bd7a693c1cb7eafd393 | [log] [tgz] |
---|---|---|
author | Dmitry Petrochenko <dmitry.petrochenko@intel.com> | Fri Apr 18 14:53:09 2014 +0700 |
committer | Andreas Gampe <agampe@google.com> | Thu Apr 24 08:35:30 2014 -0700 |
tree | 34b08f276979f3474b0a53769b2d100866647e91 | |
parent | 96a4f29350bf279d48bff70e21e3264cce216683 [diff] |
ART: Extracts an utility function of the duplicated code This patch introduces an utility function 'DataOffsetOfType' in 'mirror::Array' class that calculates the data offset at given index in an array of given type. Change-Id: Idb19558653c70a129245f220f0fbb553f898865b Signed-off-by: Dmitry Petrochenko <dmitry.petrochenko@intel.com>