aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-19 19:38:12 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-19 19:38:12 +0000
commit167b9fae86bca727a17f4d27a84c20bc9f60317a (patch)
tree96103d7bb8696c7494e51b4c446d0b730f350853 /gcc/rtl.h
parent049cfc4a1d602b0d109a0997ba6713cd03249099 (diff)
downloadgcc-167b9fae86bca727a17f4d27a84c20bc9f60317a.zip
gcc-167b9fae86bca727a17f4d27a84c20bc9f60317a.tar.gz
gcc-167b9fae86bca727a17f4d27a84c20bc9f60317a.tar.bz2
make_insn_raw returns an rtx_insn
2014-08-19 David Malcolm <dmalcolm@redhat.com> * rtl.h (make_insn_raw): Strengthen return type from rtx to rtx_insn *. * emit-rtl.c (make_insn_raw): Strengthen return type and local "insn" from rtx to rtx_insn *. (make_debug_insn_raw): Strengthen return type from rtx to rtx_insn *; strengthen local "insn" from rtx to rtx_debug_insn *. (make_jump_insn_raw): Strengthen return type from rtx to rtx_insn *; strengthen local "insn" from rtx to rtx_jump_insn *. (make_call_insn_raw): Strengthen return type from rtx to rtx_insn *; strengthen local "insn" from rtx to rtx_call_insn *. (emit_pattern_before_noloc): Strengthen return type of "make_raw" callback from rtx to rtx_insn *; likewise for local "insn" and "next", adding a checked cast to rtx_insn in the relevant cases of the switch statement. (emit_pattern_after_noloc): Strengthen return type of "make_raw" callback from rtx to rtx_insn *. (emit_pattern_after_setloc): Likewise. (emit_pattern_after): Likewise. (emit_pattern_before_setloc): Likewise. (emit_pattern_before): Likewise. From-SVN: r214187
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index fea6637..8426b91 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -2422,7 +2422,7 @@ extern rtx gen_clobber (rtx);
extern rtx emit_clobber (rtx);
extern rtx gen_use (rtx);
extern rtx emit_use (rtx);
-extern rtx make_insn_raw (rtx);
+extern rtx_insn *make_insn_raw (rtx);
extern void add_function_usage_to (rtx, rtx);
extern rtx_call_insn *last_call_insn (void);
extern rtx_insn *previous_insn (rtx);