summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectChild.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-11-09 23:07:55 +0000
committerEnrico Granata <egranata@apple.com>2015-11-09 23:07:55 +0000
commit99448c636759490c72f556ec8792eed868e955ae (patch)
tree19d7cfc69050f2497545ed8482d62c4c453f6de6 /lldb/source/Core/ValueObjectChild.cpp
parent2652b7570096b694b012de014aa08a88a816f29b (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud