rl78.md (return): Rename to rl78_return.

* config/rl78/rl78.md (return): Rename to rl78_return.
* config/rl78/rl78.c (rl78_expand_epilogue): Use new name.
(rl78_expand_eh_epilogue): Use new name.
(rl78_calculate_death_notes): Likewise.

From-SVN: r182390
This commit is contained in:
DJ Delorie 2011-12-15 15:58:15 -05:00 committed by DJ Delorie
parent 1b26c26bb0
commit 794f3386b6
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2011-12-15 DJ Delorie <dj@redhat.com>
* config/rl78/rl78.md (return): Rename to rl78_return.
* config/rl78/rl78.c (rl78_expand_epilogue): Use new name.
(rl78_expand_eh_epilogue): Use new name.
(rl78_calculate_death_notes): Likewise.
2011-12-15 Jakub Jelinek <jakub@redhat.com> 2011-12-15 Jakub Jelinek <jakub@redhat.com>
* tree-vectorizer.h (struct _stmt_vec_info): Remove pattern_def_stmt * tree-vectorizer.h (struct _stmt_vec_info): Remove pattern_def_stmt

View File

@ -903,7 +903,7 @@ rl78_expand_epilogue (void)
else if (is_interrupt_func (cfun->decl)) else if (is_interrupt_func (cfun->decl))
emit_jump_insn (gen_interrupt_return ()); emit_jump_insn (gen_interrupt_return ());
else else
emit_jump_insn (gen_return ()); emit_jump_insn (gen_rl78_return ());
} }
/* Likewise, for exception handlers. */ /* Likewise, for exception handlers. */
@ -911,7 +911,7 @@ void
rl78_expand_eh_epilogue (rtx x ATTRIBUTE_UNUSED) rl78_expand_eh_epilogue (rtx x ATTRIBUTE_UNUSED)
{ {
/* FIXME - replace this with an indirect jump with stack adjust. */ /* FIXME - replace this with an indirect jump with stack adjust. */
emit_jump_insn (gen_return ()); emit_jump_insn (gen_rl78_return ());
} }
#undef TARGET_ASM_FUNCTION_PROLOGUE #undef TARGET_ASM_FUNCTION_PROLOGUE
@ -2390,7 +2390,7 @@ rl78_calculate_death_notes (void)
break; break;
case JUMP_INSN: case JUMP_INSN:
if (INSN_CODE (insn) == CODE_FOR_return) if (INSN_CODE (insn) == CODE_FOR_rl78_return)
{ {
memset (dead, 1, sizeof (dead)); memset (dead, 1, sizeof (dead));
/* We expect a USE just prior to this, which will mark /* We expect a USE just prior to this, which will mark

View File

@ -87,7 +87,7 @@
"FAIL;" "FAIL;"
) )
(define_insn "return" (define_insn "rl78_return"
[(return)] [(return)]
"" ""
"ret" "ret"