summaryrefslogtreecommitdiff
path: root/lldb/source/ValueObject/DILEval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/ValueObject/DILEval.cpp')
-rw-r--r--lldb/source/ValueObject/DILEval.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/ValueObject/DILEval.cpp b/lldb/source/ValueObject/DILEval.cpp
index fd3f9f872460..6f28434c646c 100644
--- a/lldb/source/ValueObject/DILEval.cpp
+++ b/lldb/source/ValueObject/DILEval.cpp
@@ -303,7 +303,7 @@ Interpreter::Visit(const MemberOfNode *node) {
}
}
- if (field_obj && field_obj->GetName() == node->GetFieldName()) {
+ if (field_obj) {
if (m_use_dynamic != lldb::eNoDynamicValues) {
lldb::ValueObjectSP dynamic_val_sp =
field_obj->GetDynamicValue(m_use_dynamic);