Rename abstract method code_ to entry_point_from_compiled_code_.
Change-Id: I9b02d2df95bbeafa6e6387b461f574c57337a61e
diff --git a/src/mirror/abstract_method-inl.h b/src/mirror/abstract_method-inl.h
index a420714..d4f0f2c 100644
--- a/src/mirror/abstract_method-inl.h
+++ b/src/mirror/abstract_method-inl.h
@@ -76,7 +76,7 @@
inline uint32_t AbstractMethod::GetCodeSize() const {
DCHECK(!IsRuntimeMethod() && !IsProxyMethod()) << PrettyMethod(this);
- uintptr_t code = reinterpret_cast<uintptr_t>(GetCode());
+ uintptr_t code = reinterpret_cast<uintptr_t>(GetEntryPointFromCompiledCode());
if (code == 0) {
return 0;
}
@@ -114,27 +114,27 @@
if (IsNative() || IsRuntimeMethod() || IsProxyMethod()) {
return;
}
- if (GetCode() == GetInterpreterEntryPoint()) {
+ if (GetEntryPointFromCompiledCode() == GetInterpreterEntryPoint()) {
return;
}
- if (GetCode() == GetResolutionTrampoline()) {
+ if (GetEntryPointFromCompiledCode() == GetResolutionTrampoline()) {
return;
}
DCHECK(IsWithinCode(pc))
<< PrettyMethod(this)
<< " pc=" << std::hex << pc
- << " code=" << GetCode()
+ << " code=" << GetEntryPointFromCompiledCode()
<< " size=" << GetCodeSize();
}
inline uint32_t AbstractMethod::GetOatCodeOffset() const {
DCHECK(!Runtime::Current()->IsStarted());
- return reinterpret_cast<uint32_t>(GetCode());
+ return reinterpret_cast<uint32_t>(GetEntryPointFromCompiledCode());
}
inline void AbstractMethod::SetOatCodeOffset(uint32_t code_offset) {
DCHECK(!Runtime::Current()->IsStarted());
- SetCode(reinterpret_cast<void*>(code_offset));
+ SetEntryPointFromCompiledCode(reinterpret_cast<void*>(code_offset));
}
inline uint32_t AbstractMethod::GetOatMappingTableOffset() const {