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:
Richard Henderson 2000-01-13 22:45:23 -08:00 committed by Jeff Law
parent 1c2278974c
commit c99df6842d
2 changed files with 7 additions and 5 deletions

View File

@ -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>

View File

@ -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