diff options
author | 2017-03-06 12:35:10 -0800 | |
---|---|---|
committer | 2017-03-29 16:51:26 -0700 | |
commit | 8c19d2431f45861ca11cf5ebc4fdaf10200f2458 (patch) | |
tree | 2d376ce322be680898d55fde929e67032d4c711c /patchoat/patchoat.cc | |
parent | 4e03442619834c56dbf79a3493eb8a2d91b93e7f (diff) |
Refactor image writer
Aim to have common functions for copying references and pointers.
Required for adding support for faster image fixups.
Test: test-art-host -j32
Bug: 34927277
Bug: 34928633
Change-Id: Ia654efc483b332eea3535570496bfeccd7c635ee
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index dfaae7d864..0c2717f207 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -485,7 +485,7 @@ class PatchOat::RelocatedPointerVisitor { explicit RelocatedPointerVisitor(PatchOat* patch_oat) : patch_oat_(patch_oat) {} template <typename T> - T* operator()(T* ptr) const { + T* operator()(T* ptr, void** dest_addr ATTRIBUTE_UNUSED = 0) const { return patch_oat_->RelocatedAddressOfPointer(ptr); } |