forked from OSchip/llvm-project
Fixed an issue where a variable whose value is in a register might end up
not saying that its children are load addresses. llvm-svn: 140921
This commit is contained in:
parent
97bb841545
commit
bdf3162f53
|
@ -156,11 +156,8 @@ ValueObjectVariable::UpdateValue ()
|
|||
SetAddressTypeOfChildren(eAddressTypeHost);
|
||||
break;
|
||||
case Value::eValueTypeLoadAddress:
|
||||
SetAddressTypeOfChildren(eAddressTypeLoad);
|
||||
break;
|
||||
case Value::eValueTypeScalar:
|
||||
// TODO: is this the right thing to do?
|
||||
SetAddressTypeOfChildren(eAddressTypeInvalid);
|
||||
SetAddressTypeOfChildren(eAddressTypeLoad);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue