Fixed build warnings.

llvm-svn: 167065
This commit is contained in:
Greg Clayton 2012-10-30 23:56:14 +00:00
parent 6b223a4f06
commit 2fb45d0aff
3 changed files with 3 additions and 0 deletions

View File

@ -662,6 +662,7 @@ Value::GetValueTypeAsCString (ValueType value_type)
switch (value_type) switch (value_type)
{ {
case eValueTypeScalar: return "scalar"; case eValueTypeScalar: return "scalar";
case eValueTypeVector: return "vector";
case eValueTypeFileAddress: return "file address"; case eValueTypeFileAddress: return "file address";
case eValueTypeLoadAddress: return "load address"; case eValueTypeLoadAddress: return "load address";
case eValueTypeHostAddress: return "host address"; case eValueTypeHostAddress: return "host address";

View File

@ -156,6 +156,7 @@ ABI::GetReturnValueObject (Thread &thread,
// we don't do anything with these for now // we don't do anything with these for now
break; break;
case Value::eValueTypeScalar: case Value::eValueTypeScalar:
case Value::eValueTypeVector:
clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsFreezeDried; clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsFreezeDried;
clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated; clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated;
clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation; clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation;

View File

@ -1711,6 +1711,7 @@ Target::EvaluateExpression
// we don't do anything with these for now // we don't do anything with these for now
break; break;
case Value::eValueTypeScalar: case Value::eValueTypeScalar:
case Value::eValueTypeVector:
clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated; clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVIsLLDBAllocated;
clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation; clang_expr_variable_sp->m_flags |= ClangExpressionVariable::EVNeedsAllocation;
break; break;