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 @@ -489,19 +489,12 @@ class EntityVariable : public Materializer::Entity {
489
489
}
490
490
} else {
491
491
AddressType address_type = eAddressTypeInvalid;
492
- const bool is_dynamic_class_type =
493
- m_is_generic &&
494
- (valobj_type.GetTypeClass () == lldb::eTypeClassClass);
495
492
const bool scalar_is_load_address = m_is_generic; // this is the only
496
493
// time we're dealing
497
494
// with dynamic values
498
495
499
- // if the dynamic type is a class, bypass the GetAddressOf() optimization
500
- // as it doesn't do the right thing
501
496
lldb::addr_t addr_of_valobj =
502
- is_dynamic_class_type
503
- ? LLDB_INVALID_ADDRESS
504
- : valobj_sp->GetAddressOf (scalar_is_load_address, &address_type);
497
+ valobj_sp->GetAddressOf (scalar_is_load_address, &address_type);
505
498
506
499
// BEGIN Swift.
507
500
if (lldb::ProcessSP process_sp =
You can’t perform that action at this time.
0 commit comments