summaryrefslogtreecommitdiffstats
path: root/compiler/elf_writer.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-03-01 09:16:49 -0800
committerIan Rogers <irogers@google.com>2014-03-01 09:16:49 -0800
commit3d504075f7c1204d581923460754bf6d3714b13f (patch)
treee095ee11d308f264b3dfb9f4c510f14fe6b1259c /compiler/elf_writer.cc
parente4a74a6ac8d1486b1227504044a60002e69a9fec (diff)
downloadandroid_art-3d504075f7c1204d581923460754bf6d3714b13f.tar.gz
android_art-3d504075f7c1204d581923460754bf6d3714b13f.tar.bz2
android_art-3d504075f7c1204d581923460754bf6d3714b13f.zip
Make out arguments non-reference types.
Also, tidy some portable related code. Change-Id: I67c8aa52eef8b556ca117ecda1b1e75465ba06a5
Diffstat (limited to 'compiler/elf_writer.cc')
-rw-r--r--compiler/elf_writer.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/elf_writer.cc b/compiler/elf_writer.cc
index 6db3fa1a11..ccc26a1baf 100644
--- a/compiler/elf_writer.cc
+++ b/compiler/elf_writer.cc
@@ -30,12 +30,7 @@
namespace art {
-ElfWriter::ElfWriter(const CompilerDriver& driver, File* elf_file)
- : compiler_driver_(&driver), elf_file_(elf_file) {}
-
-ElfWriter::~ElfWriter() {}
-
-Elf32_Addr ElfWriter::GetOatDataAddress(ElfFile* elf_file) {
+uint32_t ElfWriter::GetOatDataAddress(ElfFile* elf_file) {
Elf32_Addr oatdata_address = elf_file->FindSymbolAddress(SHT_DYNSYM,
"oatdata",
false);