diff options
author | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-03-23 07:51:12 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-03-23 07:51:12 +0000 |
commit | fe9b4957b55b20ec031a6ae0151a9306cb847328 (patch) | |
tree | d1e714dbd231ec0afc0f5a154a1babff317b1019 /gcc/java/parse.c | |
parent | 9ee9b555021cd59c28ca989a4cdeff4cc0f9cbcc (diff) | |
download | gcc-fe9b4957b55b20ec031a6ae0151a9306cb847328.zip gcc-fe9b4957b55b20ec031a6ae0151a9306cb847328.tar.gz gcc-fe9b4957b55b20ec031a6ae0151a9306cb847328.tar.bz2 |
function.c: Include hash.h.
* function.c: Include hash.h.
(insns_for_mem_entry): New struct.
(put_reg_into_stack): Take an optional hash-table mapping MEMs to
the INSNs that use them.
(fixup_var_refs): Likewise.
(put_addressof_into_stack): Likewise.
(purge_addressof_1): Likewise. Keep the hash-table up to date if
we add new instructions.
(fixup_var_refs_insns): Use it to avoid searching the entire
instruction chain.
(insns_for_mem_newfunc): New function.
(insns_for_mem_comp): Likewise.
(insns_for_mem_walk): Likewise.
(compute_insns_for_mem): Likewise.
(pop_function_context_from): Pass NULL for the hash-table.
(put_var_into_stack): Likewise.
(gen_mem_addressof): Likewise.
(flush_addressof): Likewise.
(purge_addressof): Call compute_insns_for_mem to pre-compute the
hash table.
* Makefile.in (OBJS): Include hash.o.
(function.o): Depend on hash.h.
* Makefile.in (OBJS): Don't mention hash.o.
(OBJDEPS): Likewise.
From-SVN: r25922
Diffstat (limited to 'gcc/java/parse.c')
0 files changed, 0 insertions, 0 deletions