diff options
author | Eric Christopher <echristo@gmail.com> | 2014-10-11 00:04:42 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-10-11 00:04:42 +0000 |
commit | fd1a9362be1523ac72cbd1f84d70c4cee1d64876 (patch) | |
tree | abc0dcd44eb6f119da3ff72fbb4c87bf04e150fb /lldb/source/Core/Debugger.cpp | |
parent | 53b293e447a2adefa95795cb2d3298af8a47b8eb (diff) | |
download | bcm5719-llvm-fd1a9362be1523ac72cbd1f84d70c4cee1d64876.tar.gz bcm5719-llvm-fd1a9362be1523ac72cbd1f84d70c4cee1d64876.zip |
Reinstate setting addr_width to the result of the computation,
but in the conditional rather than at initialization time.
llvm-svn: 219549
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r-- | lldb/source/Core/Debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 2dc9b0367cf..0ec526e731b 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -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; |