]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/genconstants.c
Makefile.in (READ_MD_H): Add $(HASHTAB_H).
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jun 2010 20:22:49 +0000 (20:22 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 10 Jun 2010 20:22:49 +0000 (20:22 +0000)
commit9f418533f26281f5d9bf776d9d18605f8b2c3b0f
tree00b489603eacb8270197065f28c9cf9c2c4bd2d1
parent82f8e3fd2eef8bcfa1add07c7b9ee8b3c3192a89
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
gcc/ChangeLog
gcc/Makefile.in
gcc/genconstants.c
gcc/read-md.c
gcc/read-md.h
gcc/read-rtl.c
gcc/rtl.h