diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:12:44 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:12:44 +0000 |
commit | 47a928a49a1aff16bda912198061b6dce8dec5ea (patch) | |
tree | b90a930be5874988abc55bf15a33cb66a3d1e834 /gcc | |
parent | 2cf26c5144d9c231924cea5835b7bc092eaff522 (diff) | |
download | gcc-47a928a49a1aff16bda912198061b6dce8dec5ea.tar.gz |
dfa_clear_single_insn_cache takes an rtx_insn
gcc/
2014-08-28 David Malcolm <dmalcolm@redhat.com>
* genattr.c (main): When writing out insn-attr.h, strengthen param
of dfa_clear_single_insn_cache from rtx to rtx_insn *.
* genautomata.c (output_dfa_clean_insn_cache_func): Likewise when
writing out the definition of dfa_clear_single_insn_cache to the
generated insn-automata.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214703 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/genattr.c | 2 | ||||
-rw-r--r-- | gcc/genautomata.c | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 294c7e04690..470d0d32152 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,13 @@ 2014-08-28 David Malcolm <dmalcolm@redhat.com> + * genattr.c (main): When writing out insn-attr.h, strengthen param + of dfa_clear_single_insn_cache from rtx to rtx_insn *. + * genautomata.c (output_dfa_clean_insn_cache_func): Likewise when + writing out the definition of dfa_clear_single_insn_cache to the + generated insn-automata.c + +2014-08-28 David Malcolm <dmalcolm@redhat.com> + * resource.h (clear_hashed_info_for_insn): Strengthen param from rtx to rtx_insn *. (incr_ticks_for_insn): Likewise. diff --git a/gcc/genattr.c b/gcc/genattr.c index 44c9863b70d..5845dbb704b 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -321,7 +321,7 @@ main (int argc, char **argv) printf (" define_insn_reservation will be changed after\n"); printf (" last call of dfa_start. */\n"); printf ("extern void dfa_clean_insn_cache (void);\n\n"); - printf ("extern void dfa_clear_single_insn_cache (rtx);\n\n"); + printf ("extern void dfa_clear_single_insn_cache (rtx_insn *);\n\n"); printf ("/* Initiate and finish work with DFA. They should be\n"); printf (" called as the first and the last interface\n"); printf (" functions. */\n"); diff --git a/gcc/genautomata.c b/gcc/genautomata.c index 3cd4d3a5009..a4501e94a66 100644 --- a/gcc/genautomata.c +++ b/gcc/genautomata.c @@ -8731,7 +8731,7 @@ output_dfa_clean_insn_cache_func (void) DFA_INSN_CODES_VARIABLE_NAME, I_VARIABLE_NAME); fprintf (output_file, - "void\n%s (rtx %s)\n{\n int %s;\n\n", + "void\n%s (rtx_insn *%s)\n{\n int %s;\n\n", DFA_CLEAR_SINGLE_INSN_CACHE_FUNC_NAME, INSN_PARAMETER_NAME, I_VARIABLE_NAME); fprintf (output_file, |