diff options
author | 2015-11-25 14:33:36 +0000 | |
---|---|---|
committer | 2015-11-30 18:19:44 +0000 | |
commit | 10c13565474de2786aad7c2e79757ea250747a15 (patch) | |
tree | 759bdf7aab97ab45e1a3e09f5d627e568f6e7084 /compiler/elf_writer_test.cc | |
parent | e928dc587718d00d234768f76d1efb2ffe74e885 (diff) |
Refactor oat file writing to give Dex2Oat more control.
This is the first step towards writing dex files to oat file
and mapping them from there for the actual AOT compilation.
Change-Id: Icb0d27487eaf6ba3a66c157e695f9bdc5bb9cf9a
Diffstat (limited to 'compiler/elf_writer_test.cc')
-rw-r--r-- | compiler/elf_writer_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/elf_writer_test.cc b/compiler/elf_writer_test.cc index b413a9eb7b..7cf774e95f 100644 --- a/compiler/elf_writer_test.cc +++ b/compiler/elf_writer_test.cc @@ -101,7 +101,8 @@ TEST_F(ElfWriterTest, EncodeDecodeOatPatches) { // Encode patch locations. std::vector<uint8_t> oat_patches; - ElfBuilder<ElfTypes32>::EncodeOatPatches(patch_locations, &oat_patches); + ElfBuilder<ElfTypes32>::EncodeOatPatches(ArrayRef<const uintptr_t>(patch_locations), + &oat_patches); // Create buffer to be patched. std::vector<uint8_t> initial_data(256); |