commit | bfea33585e229973f7887afbf51fe45c2ba41e91 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Thu Jun 23 13:48:47 2016 +0100 |
committer | Roland Levillain <rpl@google.com> | Thu Jun 23 14:05:17 2016 +0100 |
tree | 018aff4a08f760fc489e5784a2b71e90a29a9084 | |
parent | 0fcd2b84210db2bcf8b2d7a2b98a1a2bca367cac [diff] |
Fix ARM & ARM64 UnsafeGetObject intrinsics with read barriers. The implementation was incorrectly interpreting the 'offset' input as an index in a (4-byte) object reference array, whereas it is a (1-byte) offset to an object reference field within the 'base' (object) input. Bug: 29516905 Change-Id: I4da5be0193217965f25e5d141c242592dea6ffe8 Test: Covered by test/004-UnsafeTest.