summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/ValueObjectDynamicValue.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2015-01-28 01:09:45 +0000
committerEnrico Granata <egranata@apple.com>2015-01-28 01:09:45 +0000
commit951bdd5f4121d406bb043e3c2df0b42b737af263 (patch)
treebc8e863c0b1e596e48e9557d80293d9004fcb6f2 /lldb/source/Core/ValueObjectDynamicValue.cpp
parent65b0e7630db3b0eb5c940150eccd55fb797e51bc (diff)
downloadbcm5719-llvm-951bdd5f4121d406bb043e3c2df0b42b737af263.tar.gz
bcm5719-llvm-951bdd5f4121d406bb043e3c2df0b42b737af263.zip
Move several GetByteSize() calls over to the brave new world of taking an ExecutionContext*
And since enough of these are doing the right thing, add a test case to verify we are doing the right thing with freeze drying ObjC object types Fixes rdar://18092770 llvm-svn: 227282
Diffstat (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp')
-rw-r--r--lldb/source/Core/ValueObjectDynamicValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp
index 1b8ec8083f8..89b98a1db1b 100644
--- a/lldb/source/Core/ValueObjectDynamicValue.cpp
+++ b/lldb/source/Core/ValueObjectDynamicValue.cpp
@@ -127,7 +127,7 @@ ValueObjectDynamicValue::GetByteSize()
{
const bool success = UpdateValueIfNeeded(false);
if (success && m_dynamic_type_info.HasType())
- return m_value.GetValueByteSize(NULL);
+ return m_value.GetValueByteSize(nullptr);
else
return m_parent->GetByteSize();
}
OpenPOWER on IntegriCloud