diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-11-21 16:51:29 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-11-24 10:44:33 -0800 |
commit | 957ca1cd025104fccb0b08928f955f9bdb4ab91c (patch) | |
tree | 913ceffe992bb25898ac79977b47dc2af8b3354b /patchoat | |
parent | 4d3ed1a6f34bd31ed30faaca0433cf2a4b19bb7b (diff) | |
download | art-957ca1cd025104fccb0b08928f955f9bdb4ab91c.zip art-957ca1cd025104fccb0b08928f955f9bdb4ab91c.tar.gz art-957ca1cd025104fccb0b08928f955f9bdb4ab91c.tar.bz2 |
Delete ArtMethod gc_map_ field
Moved the gc_map field from OatMethod to OatQuickMethodHeader.
Deleted the ArtMethod gc_map_ field.
Bug: 17643507
Change-Id: Ifa0470c3e4c2f8a319744464d94c6838b76b3d48
(cherry picked from commit 807140048f82a2b87ee5bcf337f23b6a3d1d5269)
Diffstat (limited to 'patchoat')
-rw-r--r-- | patchoat/patchoat.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index b15c712..68fd15b 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -565,12 +565,6 @@ void PatchOat::FixupMethod(mirror::ArtMethod* object, mirror::ArtMethod* copy) { copy->SetEntryPointFromJniPtrSize(reinterpret_cast<void*>(native_method + delta_), pointer_size); } - - uintptr_t native_gc_map = reinterpret_cast<uintptr_t>( - object->GetNativeGcMapPtrSize(pointer_size)); - if (native_gc_map != 0) { - copy->SetNativeGcMapPtrSize(reinterpret_cast<uint8_t*>(native_gc_map + delta_), pointer_size); - } } bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, |