diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-26 19:03:10 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-26 19:03:10 +0000 |
commit | 8591d646f9bff4169bb0f27b73d18e9e4ac511e6 (patch) | |
tree | 832a89f38fee0fc1b2d50bd22ca5d5fcbde45c46 /gcc/cselib.c | |
parent | 26bb3cb202f845d410baa38991e106c3cdaca731 (diff) | |
download | gcc-8591d646f9bff4169bb0f27b73d18e9e4ac511e6.tar.gz |
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 *.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214535 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index 090cd35c33c..45dd99b79ef 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) \ |