diff options
| author | Enrico Granata <egranata@apple.com> | 2012-11-27 23:50:00 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2012-11-27 23:50:00 +0000 |
| commit | 75badc46e9f4f96c08c8c0b7bbf2b1c6b1ac15f7 (patch) | |
| tree | c69829df4f1acf4c21374bb0cebb6aad1b0db73e /lldb/source/Core/ValueObjectDynamicValue.cpp | |
| parent | e0a68a562bf1ad84e7fe15db6f7f3bead3812512 (diff) | |
| download | bcm5719-llvm-75badc46e9f4f96c08c8c0b7bbf2b1c6b1ac15f7.tar.gz bcm5719-llvm-75badc46e9f4f96c08c8c0b7bbf2b1c6b1ac15f7.zip | |
Fixing a silly typo in the previous patch
llvm-svn: 168748
Diffstat (limited to 'lldb/source/Core/ValueObjectDynamicValue.cpp')
| -rw-r--r-- | lldb/source/Core/ValueObjectDynamicValue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Core/ValueObjectDynamicValue.cpp b/lldb/source/Core/ValueObjectDynamicValue.cpp index 4e038c55f38..9eb63b83a48 100644 --- a/lldb/source/Core/ValueObjectDynamicValue.cpp +++ b/lldb/source/Core/ValueObjectDynamicValue.cpp @@ -176,9 +176,10 @@ ValueObjectDynamicValue::UpdateValue () // Or we could return false, and make ourselves an echo of our parent? if (!found_dynamic_type) { + if (m_type_sp) + SetValueDidChange(true); ClearDynamicTypeInformation(); m_type_sp.reset(); - SetValueDidChange(true); m_value = m_parent->GetValue(); m_error = m_value.GetValueAsData (&exe_ctx, GetClangAST(), m_data, 0, GetModule().get()); return m_error.Success(); |

