diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-09-10 14:35:16 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-09-10 14:35:16 +0000 |
commit | d0bffe555ae09d599f8f6202dc6cf511b8c9de48 (patch) | |
tree | a207d0dd129678a9194fd7fbd121a68c51272ce6 /gcc | |
parent | 86b8825bfe502dfc6b4a8925801134e66741fd48 (diff) | |
download | gcc-d0bffe555ae09d599f8f6202dc6cf511b8c9de48.zip gcc-d0bffe555ae09d599f8f6202dc6cf511b8c9de48.tar.gz gcc-d0bffe555ae09d599f8f6202dc6cf511b8c9de48.tar.bz2 |
insn_extract takes an rtx_insn
gcc/ChangeLog:
2014-09-10 David Malcolm <dmalcolm@redhat.com>
* genextract.c (print_header): When writing out insn_extract to
insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *.
* recog.h (insn_extract): Strengthen the param from rtx to
rtx_insn *.
From-SVN: r215132
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/genextract.c | 2 | ||||
-rw-r--r-- | gcc/recog.h | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c230823..39e5de6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-09-10 David Malcolm <dmalcolm@redhat.com> + + * genextract.c (print_header): When writing out insn_extract to + insn-extract.c, strengthen the param "insn" from rtx to rtx_insn *. + * recog.h (insn_extract): Strengthen the param from rtx to + rtx_insn *. + 2014-09-10 Mike Stump <mikestump@comcast.net> * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in diff --git a/gcc/genextract.c b/gcc/genextract.c index 89d7096..2995ef8 100644 --- a/gcc/genextract.c +++ b/gcc/genextract.c @@ -367,7 +367,7 @@ static rtx junk ATTRIBUTE_UNUSED;\n"); puts ("\ void\n\ -insn_extract (rtx insn)\n{\n\ +insn_extract (rtx_insn *insn)\n{\n\ rtx *ro = recog_data.operand;\n\ rtx **ro_loc = recog_data.operand_loc;\n\ rtx pat = PATTERN (insn);\n\ diff --git a/gcc/recog.h b/gcc/recog.h index 3f94a16..b9c549d 100644 --- a/gcc/recog.h +++ b/gcc/recog.h @@ -132,7 +132,7 @@ static inline int recog_memoized (rtx_insn *insn); #endif extern void add_clobbers (rtx, int); extern int added_clobbers_hard_reg_p (int); -extern void insn_extract (rtx); +extern void insn_extract (rtx_insn *); extern void extract_insn (rtx_insn *); extern void extract_constrain_insn_cached (rtx_insn *); extern void extract_insn_cached (rtx_insn *); |