Commit 489eda65 by Kazu Hirata Committed by Kazu Hirata

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
parent 2ba08201
2002-10-24 Kazu Hirata <kazu@cs.umass.edu> 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 * config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Make it
64-bit safe. 64-bit safe.
(TINY_CONSTANT_ADDRESS_P): Likewise. (TINY_CONSTANT_ADDRESS_P): Likewise.
......
...@@ -431,7 +431,8 @@ static int ...@@ -431,7 +431,8 @@ static int
round_frame_size (size) round_frame_size (size)
int 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. /* Compute which registers to push/pop.
......
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