Commit 15e0e275 by Kazu Hirata Committed by Kazu Hirata

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

From-SVN: r49263
parent 37a0f8a5
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> 2002-01-26 Richard Henderson <rth@redhat.com>
* sched-deps.c (reg_pending_uses_head): New. * sched-deps.c (reg_pending_uses_head): New.
......
...@@ -861,24 +861,9 @@ function_arg (cum, mode, type, named) ...@@ -861,24 +861,9 @@ function_arg (cum, mode, type, named)
else else
size = GET_MODE_SIZE (mode); size = GET_MODE_SIZE (mode);
if (size + cum->nbytes <= regpass * UNITS_PER_WORD) if (size + cum->nbytes <= regpass * UNITS_PER_WORD
{ && cum->nbytes / UNITS_PER_WORD <= 3)
switch (cum->nbytes / UNITS_PER_WORD) result = gen_rtx_REG (mode, 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;
}
}
} }
return result; return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment