aboutsummaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-08-26 19:03:10 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-08-26 19:03:10 +0000
commit466659612b3f276fbfac51ecadf0c2cf803270f3 (patch)
tree832a89f38fee0fc1b2d50bd22ca5d5fcbde45c46 /gcc/cselib.c
parent1130d5e3e31879417a982e3df5a2d8ea59bfa311 (diff)
downloadgcc-466659612b3f276fbfac51ecadf0c2cf803270f3.zip
gcc-466659612b3f276fbfac51ecadf0c2cf803270f3.tar.gz
gcc-466659612b3f276fbfac51ecadf0c2cf803270f3.tar.bz2
cselib_record_sets_hook takes an rtx_insn
gcc/ * cselib.h (cselib_record_sets_hook): Strengthen initial param "insn" from rtx to rtx_insn *. * cselib.c (cselib_record_sets_hook): Likewise. * var-tracking.c (add_with_sets): Likewise, renaming back from "uncast_insn" to "insn" and eliminating the checked cast from rtx to rtx_insn *. From-SVN: r214535
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r--gcc/cselib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c
index 090cd35..45dd99b 100644
--- a/gcc/cselib.c
+++ b/gcc/cselib.c
@@ -258,7 +258,7 @@ void (*cselib_discard_hook) (cselib_val *);
represented in the array sets[n_sets]. new_val_min can be used to
tell whether values present in sets are introduced by this
instruction. */
-void (*cselib_record_sets_hook) (rtx insn, struct cselib_set *sets,
+void (*cselib_record_sets_hook) (rtx_insn *insn, struct cselib_set *sets,
int n_sets);
#define PRESERVED_VALUE_P(RTX) \