diff options
author | 2016-01-23 14:16:58 +0000 | |
---|---|---|
committer | 2016-01-23 14:16:58 +0000 | |
commit | 5d5dbeb0344fa57f34cee40f01f96829eae4b514 (patch) | |
tree | 5e4a1f49fe8e59c105397b53da3a5a963a22a9ff /patchoat/patchoat.cc | |
parent | 01ebf4a0197ab221cb5af348607696458c5b927a (diff) | |
parent | 1bc977cf2f8199311a97f2ba9431a184540e3e9c (diff) |
Merge "Revert "Load app images""
Diffstat (limited to 'patchoat/patchoat.cc')
-rw-r--r-- | patchoat/patchoat.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/patchoat/patchoat.cc b/patchoat/patchoat.cc index 7e4ce917db..d836532ed2 100644 --- a/patchoat/patchoat.cc +++ b/patchoat/patchoat.cc @@ -547,9 +547,6 @@ void PatchOat::PatchInternedStrings(const ImageHeader* image_header) { void PatchOat::PatchClassTable(const ImageHeader* image_header) { const auto& section = image_header->GetImageSection(ImageHeader::kSectionClassTable); - if (section.Size() == 0) { - return; - } // Note that we require that ReadFromMemory does not make an internal copy of the elements. // This also relies on visit roots not doing any verification which could fail after we update // the roots to be the image addresses. |