Reinstate setting addr_width to the result of the computation,

but in the conditional rather than at initialization time.

llvm-svn: 219549
This commit is contained in:
Eric Christopher 2014-10-11 00:04:42 +00:00
parent 53b293e447
commit fd1a9362be
1 changed files with 1 additions and 1 deletions

View File

@ -2734,7 +2734,7 @@ FormatPromptRecurse
int addr_width = 0;
if (exe_ctx && target)
{
target->GetArchitecture().GetAddressByteSize() * 2;
addr_width = target->GetArchitecture().GetAddressByteSize() * 2;
}
if (addr_width == 0)
addr_width = 16;