diff options
author | Enrico Granata <egranata@apple.com> | 2015-11-09 23:07:55 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2015-11-09 23:07:55 +0000 |
commit | 99448c636759490c72f556ec8792eed868e955ae (patch) | |
tree | 19d7cfc69050f2497545ed8482d62c4c453f6de6 /lldb/source/Core/ValueObjectChild.cpp | |
parent | 2652b7570096b694b012de014aa08a88a816f29b (diff) | |
download | bcm5719-llvm-99448c636759490c72f556ec8792eed868e955ae.tar.gz bcm5719-llvm-99448c636759490c72f556ec8792eed868e955ae.zip |
Rework the way in which ValueObjectChild decides how to update itself; this is a slight refactoring that I need as part of a larger master plan. As such, should be NFC
llvm-svn: 252529
Diffstat (limited to 'lldb/source/Core/ValueObjectChild.cpp')
-rw-r--r-- | lldb/source/Core/ValueObjectChild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectChild.cpp b/lldb/source/Core/ValueObjectChild.cpp index 619ffdc055d..e7a2e3da933 100644 --- a/lldb/source/Core/ValueObjectChild.cpp +++ b/lldb/source/Core/ValueObjectChild.cpp @@ -146,7 +146,7 @@ ValueObjectChild::UpdateValue () Value::ValueType value_type = parent->GetValue().GetValueType(); m_value.SetValueType (value_type); - if (parent->GetCompilerType().IsPointerOrReferenceType ()) + if (parent->GetCompilerType().ShouldTreatScalarValueAsAddress()) { lldb::addr_t addr = parent->GetPointerValue (); m_value.GetScalar() = addr; |