From: David Malcolm Date: Wed, 10 Sep 2014 14:35:16 +0000 (+0000) Subject: insn_extract takes an rtx_insn X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0bffe555ae09d599f8f6202dc6cf511b8c9de48;p=gcc.git insn_extract takes an rtx_insn gcc/ChangeLog: 2014-09-10 David Malcolm * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c23082363f4..39e5de65ad9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-09-10 David Malcolm + + * 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 * doc/install.texi (Prerequisites): Note Tcl 8.6 bug fixed in diff --git a/gcc/genextract.c b/gcc/genextract.c index 89d70965156..2995ef8efe9 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 3f94a166c73..b9c549d0d1e 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 *);