This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r194168 - in /branches/cxx-conversion/gcc: Chan...
- From: crowl at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 04 Dec 2012 22:40:18 -0000
- Subject: r194168 - in /branches/cxx-conversion/gcc: Chan...
Author: crowl
Date: Tue Dec 4 22:40:18 2012
New Revision: 194168
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194168
Log:
Change gimplify.c gimplify_ctx::temp_htab hash table from htab_t to
hash_table.
Move struct gimple_temp_hash_elt and struct gimplify_ctx to a new
gimplify-ctx.h, because they are used few places.
Tested on x86-64.
Index: gcc/ChangeLog.cxx-conversion
2012-12-04 Lawrence Crowl <crowl@google.com>
* gimple.h (struct gimplify_ctx): Move to gimplify-ctx.h.
(push_gimplify_context): Likewise.
(pop_gimplify_context): Likewise.
* gimplify-ctx.h: New.
(struct gimple_temp_hash_elt): Move from gimplify.c.
(class gimplify_hasher): New.
(struct gimplify_ctx): Move from gimple.h.
(htab_t gimplify_ctx::temp_htab):
Change type to hash_table. Update dependent calls and types.
* gimple-fold.c: Include gimplify-ctx.h.
* gimplify.c: Include gimplify-ctx.h.
(struct gimple_temp_hash_elt): Move to gimplify-ctx.h.
(htab_t gimplify_ctx::temp_htab):
Update dependent calls and types for new type hash_table.
(gimple_tree_hash): Move into gimplify_hasher in gimplify-ctx.h.
(gimple_tree_eq): Move into gimplify_hasher in gimplify-ctx.h.
* omp-low.c: Include gimplify-ctx.h.
* tree-inline.c: Include gimplify-ctx.h.
* tree-mudflap.c: Include gimplify-ctx.h.
* Makefile.in: Update to changes above.
Modified:
branches/cxx-conversion/gcc/ChangeLog.cxx-conversion
branches/cxx-conversion/gcc/Makefile.in
branches/cxx-conversion/gcc/gimple.h
branches/cxx-conversion/gcc/gimplify.c