Skip to content

Commit

Permalink
correction to 64 bit ABI implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 25, 2013
1 parent 9d02cdf commit 3e9b759
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/cgelem.c
Expand Up @@ -2775,7 +2775,7 @@ elem * elstruct(elem *e, goal_t goal)
// In-memory only
goto Ldefault;
}
if (type_size(e->ET) == 16)
// if (type_size(e->ET) == 16)
goto Ldefault;
}
else if (I64 && targ1 && targ2)
Expand Down
2 changes: 2 additions & 0 deletions src/toir.c
Expand Up @@ -791,6 +791,8 @@ enum RET TypeFunction::retStyle()
#endif
goto Lagain;
}
else if (global.params.is64bit && !sd->arg1type && !sd->arg2type)
return RETstack;
else if (sd->isPOD())
{
switch (sz)
Expand Down

0 comments on commit 3e9b759

Please sign in to comment.