From: Trevor Saunders Date: Sat, 2 May 2015 21:06:09 +0000 (+0000) Subject: make validate_replace_src_group take a rtx_insn * X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df167cbe0d023b9bff806ba12a15e46f3cbcdc90;p=gcc.git make validate_replace_src_group take a rtx_insn * gcc/ChangeLog: 2015-05-02 Trevor Saunders * recog.c (struct validate_replace_src_data): Change type of insn field to rtx_insn *. (validate_replace_src_group): Change type of argument to rtx_insn *. * recog.h (validate_replace_src_group): Adjust. From-SVN: r222738 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3490771fd9c..6f9e6c11fe3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2015-05-02 Trevor Saunders + + * recog.c (struct validate_replace_src_data): Change type of + insn field to rtx_insn *. + (validate_replace_src_group): Change type of argument to rtx_insn *. + * recog.h (validate_replace_src_group): Adjust. + 2015-05-02 Trevor Saunders * haifa-sched.c: Change the type of some variables to rtx_insn *. diff --git a/gcc/recog.c b/gcc/recog.c index 53d89e0a1c8..a43055e6bc8 100644 --- a/gcc/recog.c +++ b/gcc/recog.c @@ -905,7 +905,7 @@ struct validate_replace_src_data { rtx from; /* Old RTX */ rtx to; /* New RTX */ - rtx insn; /* Insn in which substitution is occurring. */ + rtx_insn *insn; /* Insn in which substitution is occurring. */ }; static void @@ -921,7 +921,7 @@ validate_replace_src_1 (rtx *x, void *data) SET_DESTs. */ void -validate_replace_src_group (rtx from, rtx to, rtx insn) +validate_replace_src_group (rtx from, rtx to, rtx_insn *insn) { struct validate_replace_src_data d; diff --git a/gcc/recog.h b/gcc/recog.h index 51f2165eef9..7d929ececad 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -109,7 +109,7 @@ extern int validate_replace_rtx (rtx, rtx, rtx); extern int validate_replace_rtx_part (rtx, rtx, rtx *, rtx); extern int validate_replace_rtx_part_nosimplify (rtx, rtx, rtx *, rtx); extern void validate_replace_rtx_group (rtx, rtx, rtx); -extern void validate_replace_src_group (rtx, rtx, rtx); +extern void validate_replace_src_group (rtx, rtx, rtx_insn *); extern bool validate_simplify_insn (rtx insn); extern int num_changes_pending (void); extern int next_insn_tests_no_inequality (rtx);