OSDN Git Service

ART: Remove PACKED from ArtMethod's ptr_sized_fields_
authorAndreas Gampe <agampe@google.com>
Wed, 20 Jul 2016 01:27:17 +0000 (18:27 -0700)
committerAndreas Gampe <agampe@google.com>
Thu, 21 Jul 2016 22:47:35 +0000 (15:47 -0700)
commit479b1de64cd7a8c9c8ca182c699cb2048850c35d
treebca0b26c4e210e56d25baca49f7a25ffe9178813
parent75f0885d7c3d72a0351912b6d47682e1c860efdf
ART: Remove PACKED from ArtMethod's ptr_sized_fields_

Remove the PACKED(4) hack, as it's highly annoying when debugging
a 64-bit process. Instead, fix the actual offset and size computation
for cross-size accesses.

Test: m test-art-host
Change-Id: I295c78760b74b6a62946e76856f218b4eb159cdc
runtime/art_method.cc
runtime/art_method.h