SetOatCodeOffset -> SetPortableOatCodeOffset
(cherry picked from commit d06a3db61c1f9a1b87e3f8899452c0f997ed7f8b)
Change-Id: I09fb90a90dd30d065ee77878df5c1ee04be15d4b
diff --git a/compiler/elf_writer_mclinker.cc b/compiler/elf_writer_mclinker.cc
index cdfb881..3a0c75b 100644
--- a/compiler/elf_writer_mclinker.cc
+++ b/compiler/elf_writer_mclinker.cc
@@ -376,7 +376,7 @@
(!method->IsStatic() ||
method->IsConstructor() ||
method->GetDeclaringClass()->IsInitialized())) {
- method->SetOatCodeOffset(offset);
+ method->SetPortableOatCodeOffset(offset);
}
}
it.Next();