Commit db76cf1e by David Malcolm Committed by David Malcolm

get_last_insn_anywhere returns an rtx_insn

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

	* rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
	to rtx_insn*.
	* emit-rtl.c (get_last_insn_anywhere): Likewise.

From-SVN: r214538
parent 0926539c
2014-08-26 David Malcolm <dmalcolm@redhat.com> 2014-08-26 David Malcolm <dmalcolm@redhat.com>
* rtl.h (get_last_insn_anywhere): Strengthen return type from rtx
to rtx_insn*.
* emit-rtl.c (get_last_insn_anywhere): Likewise.
2014-08-26 David Malcolm <dmalcolm@redhat.com>
* function.h (struct sequence_stack): Strengthen fields "first" * function.h (struct sequence_stack): Strengthen fields "first"
and "last" from rtx to rtx_insn *. and "last" from rtx to rtx_insn *.
(struct emit_status): Likewise for fields "x_first_insn" and (struct emit_status): Likewise for fields "x_first_insn" and
......
...@@ -3091,7 +3091,7 @@ make_safe_from (rtx x, rtx other) ...@@ -3091,7 +3091,7 @@ make_safe_from (rtx x, rtx other)
/* Return the last insn emitted, even if it is in a sequence now pushed. */ /* Return the last insn emitted, even if it is in a sequence now pushed. */
rtx rtx_insn *
get_last_insn_anywhere (void) get_last_insn_anywhere (void)
{ {
struct sequence_stack *stack; struct sequence_stack *stack;
......
...@@ -2358,7 +2358,7 @@ extern rtx convert_memory_address_addr_space (enum machine_mode, rtx, ...@@ -2358,7 +2358,7 @@ extern rtx convert_memory_address_addr_space (enum machine_mode, rtx,
#define convert_memory_address(to_mode,x) \ #define convert_memory_address(to_mode,x) \
convert_memory_address_addr_space ((to_mode), (x), ADDR_SPACE_GENERIC) convert_memory_address_addr_space ((to_mode), (x), ADDR_SPACE_GENERIC)
extern const char *get_insn_name (int); extern const char *get_insn_name (int);
extern rtx get_last_insn_anywhere (void); extern rtx_insn *get_last_insn_anywhere (void);
extern rtx get_first_nonnote_insn (void); extern rtx get_first_nonnote_insn (void);
extern rtx get_last_nonnote_insn (void); extern rtx get_last_nonnote_insn (void);
extern void start_sequence (void); extern void start_sequence (void);
......
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