Rename abstract method code_ to entry_point_from_compiled_code_.
Change-Id: I9b02d2df95bbeafa6e6387b461f574c57337a61e
diff --git a/src/oat/runtime/support_invoke.cc b/src/oat/runtime/support_invoke.cc
index 6cad527..369858e 100644
--- a/src/oat/runtime/support_invoke.cc
+++ b/src/oat/runtime/support_invoke.cc
@@ -119,7 +119,7 @@
return 0; // Failure.
}
}
- const void* code = method->GetCode();
+ const void* code = method->GetEntryPointFromCompiledCode();
#ifndef NDEBUG
// When we return, the caller will branch to this address, so it had better not be 0!
@@ -153,7 +153,7 @@
}
}
DCHECK(!self->IsExceptionPending());
- const void* code = method->GetCode();
+ const void* code = method->GetEntryPointFromCompiledCode();
#ifndef NDEBUG
// When we return, the caller will branch to this address, so it had better not be 0!