* config/h8300/h8300.c (function_arg): Remove redundant code.

From-SVN: r49263
This commit is contained in:
Kazu Hirata 2002-01-27 06:33:17 +00:00 committed by Kazu Hirata
parent 37a0f8a525
commit 15e0e27547
2 changed files with 7 additions and 18 deletions

View File

@ -1,3 +1,7 @@
2002-01-27 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.c (function_arg): Remove redundant code.
2002-01-26 Richard Henderson <rth@redhat.com>
* sched-deps.c (reg_pending_uses_head): New.

View File

@ -861,24 +861,9 @@ function_arg (cum, mode, type, named)
else
size = GET_MODE_SIZE (mode);
if (size + cum->nbytes <= regpass * UNITS_PER_WORD)
{
switch (cum->nbytes / UNITS_PER_WORD)
{
case 0:
result = gen_rtx_REG (mode, 0);
break;
case 1:
result = gen_rtx_REG (mode, 1);
break;
case 2:
result = gen_rtx_REG (mode, 2);
break;
case 3:
result = gen_rtx_REG (mode, 3);
break;
}
}
if (size + cum->nbytes <= regpass * UNITS_PER_WORD
&& cum->nbytes / UNITS_PER_WORD <= 3)
result = gen_rtx_REG (mode, cum->nbytes / UNITS_PER_WORD);
}
return result;