diff options
author | 2013-03-04 10:48:41 -0800 | |
---|---|---|
committer | 2013-03-04 11:54:04 -0800 | |
commit | 1212a022fa5f8ef9585d765b1809521812af882c (patch) | |
tree | 67ebdc1d3274c78978b3d06630874d7641d858d1 /src/compiler/dex/write_elf.cc | |
parent | 8e6960569e9de6350d7da89aa02efe0e4b924d6f (diff) |
Move the Compiler to CompilerDriver.
Change-Id: I0bb4d3c2b79b45fd8ef180688c767712b0c55978
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); |