8sa1-gcc/gcc/cp
Mark Mitchell fe9b4957b5 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
1999-03-23 07:51:12 +00:00
..
inc
call.c * call.c (add_function_candidate): Fix uninitialized variable. 1999-03-14 23:17:26 -05:00
ChangeLog function.c: Include hash.h. 1999-03-23 07:51:12 +00:00
ChangeLog.1
ChangeLog.egcs
class.c cp-tree.h (flag_access_control): Declare. 1999-03-09 23:02:42 +00:00
config-lang.in
cp-tree.def
cp-tree.h cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
cvt.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
decl2.c decl2.c (finish_file): Set at_eof to 2 after expanding ctors. 1999-03-22 21:33:34 -05:00
decl.c decl2.c (finish_file): Set at_eof to 2 after expanding ctors. 1999-03-22 21:33:34 -05:00
decl.h
errfn.c errfn.c: Change varargs code to look like toplev.c. 1999-02-22 20:44:23 -05:00
error.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
except.c
exception.cc
expr.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
friend.c friend.c (make_friend_class): Avoid core dump when not-yet-defined friend type lacks TYPE_LANG_SPECIFIC(). 1999-03-18 20:21:05 -05:00
g++.1
g++FAQ.texi
g++spec.c
gxx.gperf
gxxint.texi
hash.h
init.c init.c (build_member_call): Handle template-id expressions correctly. 1999-03-19 12:13:39 +00:00
input.c Add 1999 copyright. 1999-02-01 07:05:07 +00:00
lang-options.h
lang-specs.h gcc.c (default_compilers): Define __FAST_MATH__ when appropriate. 1999-02-25 10:50:07 -08:00
lex.c lex.c: Don't include setjmp.h. 1999-03-15 19:07:25 +00:00
lex.h
Make-lang.in Make-lang.in: ($(INTL_TARGETS)): depend on cp/parse.c 1999-03-18 22:00:18 +00:00
Makefile.in function.c: Include hash.h. 1999-03-23 07:51:12 +00:00
method.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
mpw-config.in
mpw-make.sed
new1.cc
new2.cc
new.cc
NEWS
parse.c parse.y (named_complex_class_head_sans_basetype): Do nothing for error_mark_node. 1999-03-17 00:28:43 +00:00
parse.h Regenerate 1999-03-17 01:18:10 +00:00
parse.y parse.y (named_complex_class_head_sans_basetype): Do nothing for error_mark_node. 1999-03-17 00:28:43 +00:00
pt.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
ptree.c
repo.c
rtti.c
search.c decl.c (xref_basetypes): Set CLASSTYPE_VBASECLASSES here. 1999-03-15 13:42:56 +00:00
semantics.c semantics.c (finish_switch_cond): Handle error cases gracefully. 1999-03-13 01:16:36 +00:00
sig.c error.c (cp_printers): Add 'F' escape character. 1999-03-12 20:49:14 -05:00
spew.c
tinfo2.cc
tinfo.cc
tinfo.h
tree.c parse.y (named_complex_class_head_sans_basetype): Do nothing for error_mark_node. 1999-03-17 00:28:43 +00:00
typeck2.c semantics.c (finish_switch_cond): Handle error cases gracefully. 1999-03-13 01:16:36 +00:00
typeck.c cp-tree.h (TYPE_PTRMEMFUNC_P): Use TYPE_PTRMEMFUNC_FLAG. 1999-03-23 00:01:48 +00:00
xref.c