Commit d01d2903 by Jeffrey A Law Committed by Jeff Law

h8300.c (WORD_REG_USED): Fix typo.

        * h8300.c (WORD_REG_USED): Fix typo.
        (initial_offset): Use WORD_REG_USED.
        * h8300.c (handle_pragma): Fix typo.

From-SVN: r22755
parent 4554e20d
Fri Oct 2 11:52:35 1998 Jeffrey A Law (law@cygnus.com)
* h8300.c (WORD_REG_USED): Fix typo.
(initial_offset): Use WORD_REG_USED.
* h8300.c (handle_pragma): Fix typo.
Fri Oct 2 10:51:35 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
* caller-save.c (insert_save_restore): Break this function up
......
......@@ -127,7 +127,7 @@ byte_reg (x, b)
(interrupt_handler \
|| pragma_saveall \
|| (regno == FRAME_POINTER_REGNUM && regs_ever_live[regno]) \
|| (regs_ever_live[regno] & !call_used_regs[regno])))
|| (regs_ever_live[regno] && !call_used_regs[regno])))
/* Output assembly language to FILE for the operation OP with operand size
SIZE to adjust the stack pointer. */
......@@ -856,7 +856,7 @@ eq_operator (x, mode)
with this attribute may be safely used in an interrupt vector. */
int
handle_pragma (p_getc, p_ungetc, name)
handle_pragma (p_getc, p_ungetc, pname)
int (* p_getc) PROTO ((void));
void (* p_ungetc) PROTO ((int));
char * pname;
......@@ -1574,8 +1574,7 @@ initial_offset (from, to)
int regno;
for (regno = 0; regno < FIRST_PSEUDO_REGISTER; regno++)
if ((regs_ever_live[regno]
&& (!call_used_regs[regno] || regno == FRAME_POINTER_REGNUM)))
if (WORD_REG_USED (regno))
offset += UNITS_PER_WORD;
/* See the comments for get_frame_size. We need to round it up to
......
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