forked from OSchip/llvm-project
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:
parent
53b293e447
commit
fd1a9362be
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue