mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-28 00:44:21 +08:00
fr30.c (fr30_expand_epilogue): Revert last change.
* fr30.c (fr30_expand_epilogue): Revert last change. Use emit_jump_insn for the return insn. From-SVN: r31404
This commit is contained in:
parent
1c2278974c
commit
c99df6842d
@ -1,3 +1,8 @@
|
||||
Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
|
||||
|
||||
* fr30.c (fr30_expand_epilogue): Revert last change.
|
||||
Use emit_jump_insn for the return insn.
|
||||
|
||||
Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
|
||||
Stan Cox <scox@cygnus.com>
|
||||
|
||||
|
@ -377,10 +377,7 @@ fr30_expand_epilogue ()
|
||||
|
||||
for (regno = 0; regno < STACK_POINTER_REGNUM; regno ++)
|
||||
if (current_frame_info.gmask & (1 << regno))
|
||||
{
|
||||
emit_insn (gen_movsi_pop (gen_rtx_REG (Pmode, regno)));
|
||||
emit_insn (gen_rtx_USE (VOIDmode, regno));
|
||||
}
|
||||
emit_insn (gen_movsi_pop (gen_rtx_REG (Pmode, regno)));
|
||||
|
||||
if (current_frame_info.pretend_size)
|
||||
emit_insn (gen_add_to_stack (GEN_INT (current_frame_info.pretend_size)));
|
||||
@ -388,7 +385,7 @@ fr30_expand_epilogue ()
|
||||
/* Reset state info for each function. */
|
||||
current_frame_info = zero_frame_info;
|
||||
|
||||
emit_insn (gen_return_from_func ());
|
||||
emit_jump_insn (gen_return_from_func ());
|
||||
}
|
||||
|
||||
/* Do any needed setup for a variadic function. We must create a register
|
||||
|
Loading…
Reference in New Issue
Block a user