File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -494,19 +494,12 @@ class EntityVariable : public Materializer::Entity {
494
494
}
495
495
} else {
496
496
AddressType address_type = eAddressTypeInvalid;
497
- const bool is_dynamic_class_type =
498
- m_is_generic &&
499
- (valobj_type.GetTypeClass () == lldb::eTypeClassClass);
500
497
const bool scalar_is_load_address = m_is_generic; // this is the only
501
498
// time we're dealing
502
499
// with dynamic values
503
500
504
- // if the dynamic type is a class, bypass the GetAddressOf() optimization
505
- // as it doesn't do the right thing
506
501
lldb::addr_t addr_of_valobj =
507
- is_dynamic_class_type
508
- ? LLDB_INVALID_ADDRESS
509
- : valobj_sp->GetAddressOf (scalar_is_load_address, &address_type);
502
+ valobj_sp->GetAddressOf (scalar_is_load_address, &address_type);
510
503
511
504
// BEGIN Swift.
512
505
if (lldb::ProcessSP process_sp =
You can’t perform that action at this time.
0 commit comments