aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorJosef Zlomek <zlomekj@suse.cz>2003-05-12 07:16:55 +0200
committerJosef Zlomek <zlomek@gcc.gnu.org>2003-05-12 05:16:55 +0000
commit76abd4c674a0278f0d75f7bb635f89bf17c3b91a (patch)
tree29d4dc1fdfe78b727f24ca1dd297d829aa75218f /gcc/expr.h
parent66ea6f4ccef91a1d6b86f7feaf524df51a15e36c (diff)
downloadgcc-76abd4c674a0278f0d75f7bb635f89bf17c3b91a.zip
gcc-76abd4c674a0278f0d75f7bb635f89bf17c3b91a.tar.gz
gcc-76abd4c674a0278f0d75f7bb635f89bf17c3b91a.tar.bz2
alloc-pool.h (ALLOC_POOL_ID_TYPE): New type.
* alloc-pool.h (ALLOC_POOL_ID_TYPE): New type. (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. From-SVN: r66711
Diffstat (limited to 'gcc/expr.h')
0 files changed, 0 insertions, 0 deletions