diff options
Diffstat (limited to 'src/compiler/dex/write_elf.cc')
-rw-r--r-- | src/compiler/dex/write_elf.cc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/compiler/dex/write_elf.cc b/src/compiler/dex/write_elf.cc index 1fd8a94926..a78d98e8cb 100644 --- a/src/compiler/dex/write_elf.cc +++ b/src/compiler/dex/write_elf.cc @@ -14,14 +14,17 @@ * limitations under the License. */ -#include "compiler.h" #include "elf_writer.h" #include "os.h" -extern "C" bool WriteElf(art::Compiler& compiler, +namespace art { +class CompilerDriver; +} // namespace art + +extern "C" bool WriteElf(art::CompilerDriver& driver, std::vector<uint8_t>& oat_contents, art::File* file) { - return art::ElfWriter::Create(file, oat_contents, compiler); + return art::ElfWriter::Create(file, oat_contents, driver); } extern "C" bool FixupElf(art::File* file, uintptr_t oat_data_begin) { return art::ElfWriter::Fixup(file, oat_data_begin); |