]> git.ipfire.org Git - thirdparty/gcc.git/commit
make_insn_raw returns an rtx_insn
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 19 Aug 2014 19:38:12 +0000 (19:38 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 19 Aug 2014 19:38:12 +0000 (19:38 +0000)
commit167b9fae86bca727a17f4d27a84c20bc9f60317a
tree96103d7bb8696c7494e51b4c446d0b730f350853
parent049cfc4a1d602b0d109a0997ba6713cd03249099
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
gcc/ChangeLog
gcc/emit-rtl.c
gcc/rtl.h