diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-10-12 08:24:07 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-10-12 08:24:07 +0200 |
commit | d95828db91607d1060c4301ab5631cb5a75cc787 (patch) | |
tree | 4255e8245018661107838a186d047ddb5e1f3550 /gcc/rtl.h | |
parent | 8207e1fb1b9452bb5660167b2e17d96b259e9fe2 (diff) | |
download | gcc-d95828db91607d1060c4301ab5631cb5a75cc787.zip gcc-d95828db91607d1060c4301ab5631cb5a75cc787.tar.gz gcc-d95828db91607d1060c4301ab5631cb5a75cc787.tar.bz2 |
rtl.h: Include hashtab.h.
* rtl.h: Include hashtab.h.
(iterative_hash_rtx): New prototype.
* rtl.c (iterative_hash_rtx): New function.
* dwarf2out.c (dw_loc_list_node): Add hash and emitted fields.
(output_loc_list): Return immediately if emitted is set,
set it.
(hash_loc_operands, hash_locs, hash_loc_list,
compare_loc_operands, compare_locs, loc_list_hash, loc_list_eq,
optimize_location_lists_1, optimize_location_lists): New function.
(dwarf2out_finish): Call optimize_location_lists.
* Makefile.in (RTL_BASE_H): Depend on $(HASHTAB_H).
From-SVN: r165351
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,7 @@ along with GCC; see the file COPYING3. If not see #include "vecir.h" #include "fixed-value.h" #include "alias.h" +#include "hashtab.h" #undef FFS /* Some systems predefine this symbol; don't let it interfere. */ #undef FLOAT /* Likewise. */ @@ -1622,6 +1623,7 @@ extern unsigned int rtx_size (const_rtx); extern rtx shallow_copy_rtx_stat (const_rtx MEM_STAT_DECL); #define shallow_copy_rtx(a) shallow_copy_rtx_stat (a MEM_STAT_INFO) extern int rtx_equal_p (const_rtx, const_rtx); +extern hashval_t iterative_hash_rtx (const_rtx, hashval_t); /* In emit-rtl.c */ extern rtvec gen_rtvec_v (int, rtx *); |