sh.c (gen_far_branch, [...]): Update to reflect new prototypes for redirect_jump and invert_jump.

* config/sh/sh.c (gen_far_branch, split_branches): Update
	to reflect new prototypes for redirect_jump and invert_jump.
	(sh_insn_length_adjustment): Get rid of const warnings.

From-SVN: r34113
This commit is contained in:
Clinton Popetz 2000-05-23 20:10:17 +00:00 committed by Clinton Popetz
parent 923c2d868f
commit 8ceaac3c6e
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
* config/sh/sh.c (gen_far_branch, split_branches): Update
to reflect new prototypes for redirect_jump and invert_jump.
(sh_insn_length_adjustment): Get rid of const warnings.
2000-05-23 Kazu Hirata <kazu@hxi.com>
* invoke.texi (Options for Debugging Your Program or GCC): Update

View File

@ -2654,7 +2654,7 @@ gen_far_branch (bp)
emit_barrier_after (jump);
emit_label_after (bp->near_label, insn);
JUMP_LABEL (jump) = bp->far_label;
if (! invert_jump (insn, label))
if (! invert_jump (insn, label, 1))
abort ();
/* Prevent reorg from undoing our splits. */
gen_block_redirect (jump, bp->address += 2, 2);
@ -3387,7 +3387,7 @@ split_branches (first)
bp->insert_place = insn;
bp->address = addr;
}
if (! redirect_jump (insn, label))
if (! redirect_jump (insn, label, 1))
abort ();
}
else
@ -3450,7 +3450,7 @@ split_branches (first)
JUMP_LABEL (insn) = far_label;
LABEL_NUSES (far_label)++;
}
redirect_jump (insn, NULL_RTX);
redirect_jump (insn, NULL_RTX, 1);
far_label = 0;
}
}
@ -5156,7 +5156,8 @@ sh_insn_length_adjustment (insn)
{
int sum = 0;
rtx body = PATTERN (insn);
char *template, c;
const char *template;
char c;
int maybe_label = 1;
if (GET_CODE (body) == ASM_INPUT)