[llvm-commits] CVS: llvm-poolalloc/include/poolalloc/PoolAllocate.h
John Criswell
criswell at cs.uiuc.edu
Wed Jul 26 08:37:50 PDT 2006
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
More information about the llvm-commits
mailing list