Branch: Tag:

2000-03-20

2000-03-20 21:00:58 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

faster dmalloc

Rev: src/block_alloc.h:1.16
Rev: src/builtin_functions.c:1.245
Rev: src/dmalloc.h:1.20
Rev: src/dynamic_buffer.h:1.7
Rev: src/error.c:1.42
Rev: src/object.c:1.94
Rev: src/pike_memory.c:1.55
Rev: src/pike_types.h:1.38
Rev: src/stralloc.c:1.80
Rev: src/stralloc.h:1.41
Rev: src/svalue.c:1.63
Rev: src/svalue.h:1.48

1: - /* $Id: block_alloc.h,v 1.15 2000/01/27 23:13:03 hubbe Exp $ */ + /* $Id: block_alloc.h,v 1.16 2000/03/20 21:00:03 hubbe Exp $ */   #undef PRE_INIT_BLOCK   #undef INIT_BLOCK   #undef EXIT_BLOCK
51:    \    tmp=PIKE_CONCAT3(free_,DATA,s); \    PIKE_CONCAT3(free_,DATA,s)=tmp->BLOCK_ALLOC_NEXT; \ -  DO_IF_DMALLOC( dmalloc_register(tmp,0, __FILE__, __LINE__); ) \ +  DO_IF_DMALLOC( dmalloc_register(tmp,0, DMALLOC_LOCATION()); ) \    INIT_BLOCK(tmp); \    return tmp; \   } \