Add missing "return" statements.

ExecutionContext::GetAddressByteSize() was calling GettAddressByteSize () on Target and Process class but was ignoring the return type. I have added the missing return.
No regression in the test suite. Committed as obvious.

llvm-svn: 230502
This commit is contained in:
Hafiz Abid Qadeer 2015-02-25 16:01:12 +00:00
parent 5c62af5bb1
commit ed69e30d68
1 changed files with 2 additions and 2 deletions

View File

@ -249,9 +249,9 @@ uint32_t
ExecutionContext::GetAddressByteSize() const
{
if (m_target_sp && m_target_sp->GetArchitecture().IsValid())
m_target_sp->GetArchitecture().GetAddressByteSize();
return m_target_sp->GetArchitecture().GetAddressByteSize();
if (m_process_sp)
m_process_sp->GetAddressByteSize();
return m_process_sp->GetAddressByteSize();
return sizeof(void *);
}