Fixed a thinko when returning a struct like {short a; short b; short c; float d}.

llvm-svn: 147209
This commit is contained in:
Jim Ingham 2011-12-23 00:30:10 +00:00
parent 8519c355a9
commit 8570abdc56
1 changed files with 1 additions and 1 deletions

View File

@ -838,7 +838,7 @@ ABISysV_x86_64::GetReturnValueObjectImpl (Thread &thread,
{
// We are at the beginning of one of the eightbytes, so check the next element (if any)
if (idx == num_children - 1)
in_gpr = true;
in_gpr = false;
else
{
uint32_t next_field_bit_offset;