h8300.c (round_frame_size): Replace 8 with BITS_PER_UNIT.

* config/h8300/h8300.c (round_frame_size): Replace 8 with
	BITS_PER_UNIT.

From-SVN: r58493
This commit is contained in:
Kazu Hirata 2002-10-24 14:08:23 +00:00 committed by Kazu Hirata
parent 2ba08201d7
commit 489eda6518
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.c (round_frame_size): Replace 8 with
BITS_PER_UNIT.
2002-10-24 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it

View file

@ -431,7 +431,8 @@ static int
round_frame_size (size)
int size;
{
return (size + STACK_BOUNDARY / 8 - 1) & -STACK_BOUNDARY / 8;
return ((size + STACK_BOUNDARY / BITS_PER_UNIT - 1)
& -STACK_BOUNDARY / BITS_PER_UNIT);
}
/* Compute which registers to push/pop.