OSDN Git Service

Add support for relative patching to quick offsets.
authorMathieu Chartier <mathieuc@google.com>
Thu, 29 May 2014 17:19:19 +0000 (10:19 -0700)
committerMathieu Chartier <mathieuc@google.com>
Thu, 29 May 2014 20:30:44 +0000 (13:30 -0700)
commit57d27334bcb9ea95c969be70d8d93eb1a9c72b41
tree871e51a96f1bc3ed717cd338d0be51a8ca73162e
parent11138c73e0c5f8a90d1eeed3c48a2b63b310671c
Add support for relative patching to quick offsets.

We now have support for patching relative patches to quick offsets
(interpreter bridge, generic trampoline). This fixes an issue where
the compiler was generating relative branches to methods but then
later deciding to not compile them, we now properly patch these in
the image writer.

Credits: agampe for help.
Bug: 15283931

Change-Id: I3ea5278b39def6c442432fb14103a91c6eae6d0f
compiler/image_writer.cc