summaryrefslogtreecommitdiff
path: root/compiler/optimizing/instruction_builder.cc
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2017-12-08 10:53:27 +0000
committerDavid Brazdil <dbrazdil@google.com>2017-12-08 11:18:46 +0000
commit93592f53e35f01b54fbc84a7502b2e055ff6fe45 (patch)
treeb6cb0b5c41ecebc37adde7480282f368255e8c4a /compiler/optimizing/instruction_builder.cc
parent5449e076f6314fc21592a9e089258647f2750e9b (diff)
Fix VDEX header when no quickening info
When there is no quickening info to be written, the OatWriter logic wrongly assumes that padding was written to align the file size to 32 bits. The file is therefore shorter than the size calculated from header data. This patch fixes that. Additionally, it enforces that OatWriter::WriteQuickeningInfo is always called, which was not the case with some of our tests. This requirement was already mentioned in OatWriter comments but not adhered to. Test: m test-art-host-gtest Bug: 70267762 Change-Id: If25600761677efba173d7cac02931e71c6260f9d
Diffstat (limited to 'compiler/optimizing/instruction_builder.cc')
0 files changed, 0 insertions, 0 deletions