diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2010-06-10 20:22:49 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2010-06-10 20:22:49 +0000 |
commit | 9f418533f26281f5d9bf776d9d18605f8b2c3b0f (patch) | |
tree | 00b489603eacb8270197065f28c9cf9c2c4bd2d1 /gcc/genconstants.c | |
parent | 82f8e3fd2eef8bcfa1add07c7b9ee8b3c3192a89 (diff) | |
download | gcc-9f418533f26281f5d9bf776d9d18605f8b2c3b0f.tar.gz |
Makefile.in (READ_MD_H): Add $(HASHTAB_H).
gcc/
* Makefile.in (READ_MD_H): Add $(HASHTAB_H).
(build/genconstants.o): Depend on $(READ_MD_H) gensupport.h.
* genconstants.c: Include read-md.h.
* read-rtl.c (md_constants): Move to read-md.c.
(md_name): Move to read-md.h.
(initialize_iterators): Use leading_string_hash instead of def_hash
and leading_string_eq_p instead of def_name_eq_p.
(read_name): Move to read-md.c.
(def_hash, def_name_eq_p): Delete.
(read_constants, traverse_md_constants): Move to read-md.c.
* rtl.h (md_constant, traverse_md_constants): Move to read-md.h.
* read-md.h: Include hashtab.h.
(md_name): Moved from read-rtl.c.
(md_constant): Moved from read-md.h.
(leading_string_hash, leading_string_eq_p, read_name)
(read_constants, traverse_md_constants): Declare.
* read-md.c (md_constants): Moved from read-rtl.c.
(leading_string_hash, leading_string_eq_p): New functions.
(read_name, read_constants, traverse_md_constants): Moved from
read-rtl.c.
From-SVN: r160575
Diffstat (limited to 'gcc/genconstants.c')
-rw-r--r-- | gcc/genconstants.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genconstants.c b/gcc/genconstants.c index a68dbf157b2..1a0182c7a59 100644 --- a/gcc/genconstants.c +++ b/gcc/genconstants.c @@ -31,6 +31,7 @@ along with GCC; see the file COPYING3. If not see #include "tm.h" #include "rtl.h" #include "errors.h" +#include "read-md.h" #include "gensupport.h" /* Called via traverse_md_constants; emit a #define for |