summaryrefslogtreecommitdiff
path: root/gcc/alloc-pool.h
Commit message (Collapse)AuthorAgeFilesLines
* gcc/kazu2004-02-041-1/+1
| | | | | | | | | | | | | | | | | | | | | * alloc-pool.h, c-convert.c, c-lang.c, c-tree.h, caller-save.c, df.h, genconfig.c, global.c, lcm.c, ra-rewrite.c, ra.c, regclass.c, regs.h, resource.c, sched-rgn.c, config/arm/aof.h, config/arm/cirrus.md, config/arm/fpa.md, config/arm/iwmmxt.md, config/arm/netbsd-elf.h, config/arm/netbsd.h, config/m68hc11/m68hc11.md, config/mips/iris5.h, config/mn10300/mn10300.md, config/rs6000/altivec.md, config/sparc/netbsd-elf.h: Update copyright. cp/ * error.c, search.c: Update copyright. java/ * typeck.c: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77265 138bc75d-0d04-0410-961f-82ee72b054a4
* * alloc-pool.c: Include hashtab.hhubicka2004-01-301-1/+2
| | | | | | | | | | | | | | | | | (alloc_pool_descriptor): New structure (alloc_pool_hash): New global variable. (hash_descriptor, eq_descriptor, alloc_pool_descriptor): New. (create_alloc_pool): Update statistics. (free_alloc_pool): Likewise. (pool_alloc): Likewise. (output_info): New structure (print_statistics, dump_alloc_pool_statistics): New function. * alloc-pool.h (alloc_pool_def): Turn name to be constant. (dump_alloc_pool_statistics): Declare. * toplev.c (finalize): Dump statistics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@76951 138bc75d-0d04-0410-961f-82ee72b054a4
* * alloc-pool.c: Convert to ISO C90 prototypes.aj2003-06-151-4/+4
| | | | | | | | | | | | | | | | | | * alloc-pool.h: Likewise. * alias.c: Likewise. * attribs.c: Likewise. * bb-reorder.c: Likewise. * bitmap.h: Likewise. * bitmap.c: Likewise. * builtins.c: Likewise. * tree.h: Convert prototypes of attribs.c to ISO C90. * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90. * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90. * expr.h: Convert prototypes of builtins.c to ISO C90. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67975 138bc75d-0d04-0410-961f-82ee72b054a4
* * alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.zlomek2003-05-121-2/+8
| | | | | | | | | | | | | | | | | | (struct alloc_pool_def): New element 'id'. * alloc-pool.c (fancy_abort): Extern function prototype. (abort): Macro which uses fancy_abort. (struct allocation_object_def): New structure. (ALLOCATION_OBJECT_PTR_FROM_USER_PTR): New macro. (USER_PTR_FROM_ALLOCATION_OBJECT_PTR): New macro. (last_id): New variable. (create_alloc_pool): Add the offset of u.data to size of element, increase and use last_id. (free_alloc_pool): Do the checking only when ENABLE_CHECKING. (pool_alloc): Likewise. Set ID for elements. (pool_free): Check whether the PTR was allocated from POOL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66711 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-18 Daniel Berlin <dberlin@dberlin.org>dberlin2002-12-191-0/+48
* Makefile.in (OBJS): Add alloc-pool.o (alloc-pool.o): New object. * alloc-pool.c: New file. * alloc-pool.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60312 138bc75d-0d04-0410-961f-82ee72b054a4