From 6065402316da2b51eed5fc34cffbd991766bd408 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 16 Feb 2016 12:50:23 +0000 Subject: 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 --- compiler/image_writer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/image_writer.h') 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(); -- cgit v1.2.3-59-g8ed1b