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:
parent
2ba08201d7
commit
489eda6518
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue