[llvm-commits] CVS: poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c

Sumant Kowshik kowshik at cs.uiuc.edu
Wed Aug 13 10:24:02 PDT 2003


Changes in directory poolalloc/bytecode/PoolAllocator:

PoolAllocatorChained.c updated: 1.3 -> 1.4

---
Log message:

Added exit statement upon exception in poolfree

---
Diffs of the changes:

Index: poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c
diff -u poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c:1.3 poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c:1.4
--- poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c:1.3	Thu Aug  7 00:31:04 2003
+++ poolalloc/bytecode/PoolAllocator/PoolAllocatorChained.c	Wed Aug 13 10:23:20 2003
@@ -242,6 +242,7 @@
     
     if (!ALLOCATION_BEGINS(PS, Idx)) { 
       printf("poolfree: Attempt to free middle of allocated array\n");
+      exit(1);
     }
 
     /* Free the first node */





More information about the llvm-commits mailing list