mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user