Changes in directory llvm-poolalloc/include/poolalloc:
PoolAllocate.h updated: 1.50 -> 1.51 --- Log message: Fix conditional compilation so that PoolRegister is defined if either SAFECODE, BOUNDS_CHECK, or both are defined. --- Diffs of the changes: (+1 -4) PoolAllocate.h | 5 +---- 1 files changed, 1 insertion(+), 4 deletions(-) Index: llvm-poolalloc/include/poolalloc/PoolAllocate.h diff -u llvm-poolalloc/include/poolalloc/PoolAllocate.h:1.50 llvm-poolalloc/include/poolalloc/PoolAllocate.h:1.51 --- llvm-poolalloc/include/poolalloc/PoolAllocate.h:1.50 Mon Jun 19 09:55:28 2006 +++ llvm-poolalloc/include/poolalloc/PoolAllocate.h Wed Jul 26 10:37:25 2006 @@ -134,10 +134,7 @@ #endif Function *PoolInit, *PoolDestroy, *PoolAlloc, *PoolRealloc, *PoolMemAlign; Function *PoolFree; -#ifdef SAFECODE - Function *PoolRegister; -#endif -#ifdef BOUNDS_CHECK +#if defined(SAFECODE) || defined(BOUNDS_CHECK) Function *PoolRegister; #endif _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits