[Target][NFCI] Rename variable

This variable doesn't have anything to do with clang.

llvm-svn: 366292
This commit is contained in:
Alex Langford 2019-07-17 07:03:17 +00:00
parent 4c77a696ae
commit e574f8b3d8

View File

@ -124,11 +124,11 @@ ValueObjectSP ABI::GetReturnValueObject(Thread &thread, CompilerType &ast_type,
return_valobj_sp = const_valobj_sp;
ExpressionVariableSP clang_expr_variable_sp(
ExpressionVariableSP expr_variable_sp(
persistent_expression_state->CreatePersistentVariable(
return_valobj_sp));
assert(clang_expr_variable_sp);
assert(expr_variable_sp);
// Set flags and live data as appropriate
@ -141,21 +141,21 @@ ValueObjectSP ABI::GetReturnValueObject(Thread &thread, CompilerType &ast_type,
break;
case Value::eValueTypeScalar:
case Value::eValueTypeVector:
clang_expr_variable_sp->m_flags |=
expr_variable_sp->m_flags |=
ExpressionVariable::EVIsFreezeDried;
clang_expr_variable_sp->m_flags |=
expr_variable_sp->m_flags |=
ExpressionVariable::EVIsLLDBAllocated;
clang_expr_variable_sp->m_flags |=
expr_variable_sp->m_flags |=
ExpressionVariable::EVNeedsAllocation;
break;
case Value::eValueTypeLoadAddress:
clang_expr_variable_sp->m_live_sp = live_valobj_sp;
clang_expr_variable_sp->m_flags |=
expr_variable_sp->m_live_sp = live_valobj_sp;
expr_variable_sp->m_flags |=
ExpressionVariable::EVIsProgramReference;
break;
}
return_valobj_sp = clang_expr_variable_sp->GetValueObject();
return_valobj_sp = expr_variable_sp->GetValueObject();
}
return return_valobj_sp;
}