diff options
Diffstat (limited to 'gcc/jump.c')
-rwxr-xr-x | gcc/jump.c | 37 |
1 files changed, 0 insertions, 37 deletions
@@ -243,24 +243,6 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) return; } -#ifdef HAVE_return - if (HAVE_return) - { - /* If we fall through to the epilogue, see if we can insert a RETURN insn - in front of it. If the machine allows it at this point (we might be - after reload for a leaf routine), it will improve optimization for it - to be there. */ - insn = get_last_insn (); - while (insn && GET_CODE (insn) == NOTE) - insn = PREV_INSN (insn); - - if (insn && GET_CODE (insn) != BARRIER) - { - emit_jump_insn (gen_return ()); - emit_barrier (); - } - } -#endif if (noop_moves) delete_noop_moves (f); @@ -2072,25 +2054,6 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan) } } -#ifdef HAVE_return - if (HAVE_return) - { - /* If we fall through to the epilogue, see if we can insert a RETURN insn - in front of it. If the machine allows it at this point (we might be - after reload for a leaf routine), it will improve optimization for it - to be there. We do this both here and at the start of this pass since - the RETURN might have been deleted by some of our optimizations. */ - insn = get_last_insn (); - while (insn && GET_CODE (insn) == NOTE) - insn = PREV_INSN (insn); - - if (insn && GET_CODE (insn) != BARRIER) - { - emit_jump_insn (gen_return ()); - emit_barrier (); - } - } -#endif can_reach_end = calculate_can_reach_end (last_insn, 0, 1); |