Rename abstract method code_ to entry_point_from_compiled_code_.
Change-Id: I9b02d2df95bbeafa6e6387b461f574c57337a61e
diff --git a/src/image_writer.cc b/src/image_writer.cc
index d9e4353..7e82d6d 100644
--- a/src/image_writer.cc
+++ b/src/image_writer.cc
@@ -476,18 +476,18 @@
// Here we readjust to a pointer relative to oat_begin_
if (orig->IsAbstract()) {
// Code for abstract methods is set to the abstract method error stub when we load the image.
- copy->SetCode(NULL);
+ copy->SetEntryPointFromCompiledCode(NULL);
return;
}
if (orig == Runtime::Current()->GetResolutionMethod()) {
// The resolution method's code is set to the resolution trampoline when we load the image.
- copy->SetCode(NULL);
+ copy->SetEntryPointFromCompiledCode(NULL);
return;
}
// Non-abstract methods have code
- copy->SetCode(GetOatAddress(orig->GetOatCodeOffset()));
+ copy->SetEntryPointFromCompiledCode(GetOatAddress(orig->GetOatCodeOffset()));
if (orig->IsNative()) {
// The native method's pointer is set to a stub to lookup via dlsym when we load the image.