r151039 - in /branches/gc-improv/gcc: ChangeLog...
lauras@gcc.gnu.org
lauras@gcc.gnu.org
Sun Aug 23 19:34:00 GMT 2009
Author: lauras
Date: Sun Aug 23 19:34:25 2009
New Revision: 151039
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=151039
Log:
ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* ggc.h (ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
(ggc_internal_alloc, ggc_alloc): Redefine.
(ggc_alloc_cleared_stat): Rename to
ggc_internal_cleared_alloc_stat.
(ggc_internal_cleared_alloc, ggc_alloc_cleared): Redefine.
(GGC_NEW, GGC_CNEW, GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine.
(GGC_NEWVAR, GGC_CNEWVAR): Remove.
(ggc_internal_vec_alloc, ggc_internal_cleared_vec_alloc): Redefine.
(ggc_internal_sized_alloc): Remove.
(ggc_internal_cleared_sized_alloc): Remove.
(ggc_internal_vec_sized_alloc): Remove.
(ggc_internal_cleared_vec_sized_alloc): Remove.
(ggc_alloc_atomic, ggc_alloc_cleared_atomic): Redefine.
(ggc_alloc_rtvec): Rename to ggc_alloc_rtvec_sized and redefine.
(ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat.
(ggc_alloc_zone, ggc_alloc_zone_pass_stat): Remove.
(ggc_internal_cleared_alloc_zone_stat): New.
(ggc_internal_zone_stat_alloc): Define.
(ggc_internal_zone_cleared_stat_alloc): Define.
(ggc_internal_zone_vec_alloc): Define.
* ggc-none.c (ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
(ggc_alloc_cleared_stat): Rename to
ggc_internal_cleared_alloc_stat.
* ggc-page.c (ggc_alloc_typed_stat): Use ggc_internal_alloc_stat.
(ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
* ggc-zone.c (ggc_alloc_zone_stat): Rename to
ggc_internal_alloc_zone_stat.
(ggc_internal_cleared_alloc_zone_stat): New.
(ggc_internal_alloc_zone_pass_stat): Define.
(ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat.
(ggc_alloc_stat): Rename to ggc_internal_alloc_stat. Use
ggc_internal_alloc_zone_pass_stat.
(ggc_pch_total_size): Change type of i to int.
* ggc-common.c (ggc_internal_alloc_stat): Rename to
ggc_internal_cleared_alloc_stat, use ggc_internal_alloc_stat.
(ggc_realloc_stat): Use ggc_internal_alloc_stat.
(ggc_calloc): Use ggc_internal_cleared_alloc.
(ggc_splay_alloc): Use ggc_internal_alloc.
* gengtype.c (alloc_quantity, alloc_zone): new enumerations.
(write_typed_alloc_end): Replace argument `is_vector' with
`quantity'. Rewrite to support zone allocators.
(write_typed_struct_alloc_def): Likewise.
(write_typed_typedef_alloc_def): Likewise.
(write_typed_alloc_defns): Output zone allocators.
(write_typed_alloc_defns): Likewise.
* varray.h (struct varray_head_tag): Add variable_size GTY option.
* varray.c (varray_init): Use typed GC allocation.
* rtl.h (struct rtvec_def): add variable_size GTY option.
* rtl.c (rtvec_alloc): Use ggc_alloc_rtvec_sized.
* ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC.
* c-tree.h (struct lang_type): add variable_size GTY option.
(struct lang_decl): Likewise.
* c-decl.c (finish_struct): Pass size to GC allocator.
(finish_enum): Likewise.
(c_dup_lang_specific_decl): Likewise.
* toplev.c (realloc_for_line_map): Use GGC_RESIZEVAR.
* tree.c (make_node_stat): Convert to typed GC allocation.
(copy_node_stat): Likewise.
(make_tree_binfo_stat): Likewise.
(make_tree_vec_stat): Likewise.
(tree_cons_stat): Likewise.
(build1_stat): Likewise.
(build_vl_exp_stat): Likewise.
ada/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* gcc-interface/ada-tree.h (struct lang_type): add variable_size
GTY option.
(struct lang_decl): Likewise.
(SET_TYPE_LANG_SPECIFIC, SET_DECL_LANG_SPECIFIC): Pass size to GC
allocator.
* gcc-interface/utils.c (init_gnat_to_gnu): Convert to typed GC
allocation.
(init_dummy_type): Likewise.
cp/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* cp-tree.h (struct lang_type): add variable_size GTY option.
(struct lang_decl): Likewise.
(TYPE_SET_PTRMEMFUNC_TYPE): Pass size to GC allocator.
* lex.c (retrofit_lang_decl): Convert to typed GC allocation.
(cxx_dup_lang_specific_decl): Likewise.
(copy_lang_type): Likewise.
(cxx_make_type): Likewise.
fortran/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* trans.h (struct lang_type): add variable_size GTY option.
(struct lang_decl): Likewise.
* trans-decl.c (gfc_allocate_lang_decl): Pass size to GC
allocator.
* trans-types.c (gfc_get_nodesc_array_type): Likewise.
(gfc_get_array_type_bounds): Likewise.
java/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Pass
size to GC allocator.
(struct lang_dec): add variable_size GTY option.
(MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Pass size to GC
allocator.
(struct lang_type): add variable_size GTY option.
* decl.c (java_dup_lang_specific_decl): Pass size to GC allocator.
* class.c (add_method_1): Likewise.
objc/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Pass size to GC
allocator.
* objc-act.c (hash_init): Convert to typed GC allocation.
objcp/ChangeLog:
2009-08-23 Laurynas Biveinis <laurynas.biveinis@gmail.com>
* objcp/objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Pass size to
GC allocator.
Added:
branches/gc-improv/gcc/objcp/ChangeLog.gc-improv
Modified:
branches/gc-improv/gcc/ChangeLog.gc-improv
branches/gc-improv/gcc/ada/ChangeLog.gc-improv
branches/gc-improv/gcc/ada/gcc-interface/ada-tree.h
branches/gc-improv/gcc/ada/gcc-interface/utils.c
branches/gc-improv/gcc/c-decl.c
branches/gc-improv/gcc/c-tree.h
branches/gc-improv/gcc/cp/ChangeLog.gc-improv
branches/gc-improv/gcc/cp/cp-tree.h
branches/gc-improv/gcc/cp/lex.c
branches/gc-improv/gcc/fortran/ChangeLog.gc-improv
branches/gc-improv/gcc/fortran/trans-decl.c
branches/gc-improv/gcc/fortran/trans-types.c
branches/gc-improv/gcc/fortran/trans.h
branches/gc-improv/gcc/gengtype.c
branches/gc-improv/gcc/ggc-common.c
branches/gc-improv/gcc/ggc-none.c
branches/gc-improv/gcc/ggc-page.c
branches/gc-improv/gcc/ggc-zone.c
branches/gc-improv/gcc/ggc.h
branches/gc-improv/gcc/ira.c
branches/gc-improv/gcc/java/ChangeLog.gc-improv
branches/gc-improv/gcc/java/class.c
branches/gc-improv/gcc/java/decl.c
branches/gc-improv/gcc/java/java-tree.h
branches/gc-improv/gcc/objc/ChangeLog.gc-improv
branches/gc-improv/gcc/objc/objc-act.c
branches/gc-improv/gcc/objc/objc-act.h
branches/gc-improv/gcc/objcp/objcp-decl.h
branches/gc-improv/gcc/rtl.c
branches/gc-improv/gcc/rtl.h
branches/gc-improv/gcc/toplev.c
branches/gc-improv/gcc/tree.c
branches/gc-improv/gcc/varray.c
branches/gc-improv/gcc/varray.h
More information about the Gcc-cvs
mailing list