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:
Greg Clayton 2011-10-01 01:53:20 +00:00
parent 97bb841545
commit bdf3162f53
1 changed files with 1 additions and 4 deletions

View File

@ -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;
}