summaryrefslogtreecommitdiff
path: root/compiler/image_writer.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2016-02-16 12:50:23 +0000
committer Vladimir Marko <vmarko@google.com> 2016-02-17 16:38:46 +0000
commit6065402316da2b51eed5fc34cffbd991766bd408 (patch)
treecb93e32b978ea03a70baf980c470a03263c084c0 /compiler/image_writer.h
parent442643920a6c539e98aad76594e99b932b5631ba (diff)
Allow method references across oat files for multi-image.
These were disabled because we didn't have sufficient information about the multi-image layout when processing link-time patches in OatWriter. This CL refactors the ELF file creation so that the information is available. Change-Id: I6f2e8dc8572d143c72cc2693bb0ba4fd76f889ab
Diffstat (limited to 'compiler/image_writer.h')
-rw-r--r--compiler/image_writer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/image_writer.h b/compiler/image_writer.h
index 9371d9ffa9..a4a252e389 100644
--- a/compiler/image_writer.h
+++ b/compiler/image_writer.h
@@ -123,7 +123,7 @@ class ImageWriter FINAL {
// Update the oat size for the given oat file. This will make the oat_offset for the next oat
// file valid.
- void UpdateOatFile(File* oat_file, const char* oat_filename);
+ void UpdateOatFile(size_t index, size_t oat_loaded_size);
private:
bool AllocMemory();