Commit 8ba24b7b by David Malcolm Committed by David Malcolm

insn_current_reference_address takes an rtx_insn

gcc/
2014-08-28  David Malcolm  <dmalcolm@redhat.com>

	* output.h (insn_current_reference_address): Strengthen param
	from rtx to rtx_insn *.
	* final.c (insn_current_reference_address): Likewise.

From-SVN: r214692
parent eefc72ed
2014-08-28 David Malcolm <dmalcolm@redhat.com> 2014-08-28 David Malcolm <dmalcolm@redhat.com>
* output.h (insn_current_reference_address): Strengthen param
from rtx to rtx_insn *.
* final.c (insn_current_reference_address): Likewise.
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* basic-block.h (inside_basic_block_p): Strengthen param from * basic-block.h (inside_basic_block_p): Strengthen param from
const_rtx to const rtx_insn *. const_rtx to const rtx_insn *.
* cfgbuild.c (inside_basic_block_p): Likewise. * cfgbuild.c (inside_basic_block_p): Likewise.
...@@ -637,7 +637,7 @@ align_fuzz (rtx start, rtx end, int known_align_log, unsigned int growth) ...@@ -637,7 +637,7 @@ align_fuzz (rtx start, rtx end, int known_align_log, unsigned int growth)
to exclude the branch size. */ to exclude the branch size. */
int int
insn_current_reference_address (rtx branch) insn_current_reference_address (rtx_insn *branch)
{ {
rtx dest, seq; rtx dest, seq;
int seq_uid; int seq_uid;
......
...@@ -90,7 +90,7 @@ extern void output_asm_insn (const char *, rtx *); ...@@ -90,7 +90,7 @@ extern void output_asm_insn (const char *, rtx *);
/* Compute a worst-case reference address of a branch so that it /* Compute a worst-case reference address of a branch so that it
can be safely used in the presence of aligned labels. can be safely used in the presence of aligned labels.
Defined in final.c. */ Defined in final.c. */
extern int insn_current_reference_address (rtx); extern int insn_current_reference_address (rtx_insn *);
/* Find the alignment associated with a CODE_LABEL. /* Find the alignment associated with a CODE_LABEL.
Defined in final.c. */ Defined in final.c. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment