[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSNode.h

Sumant Kowshik kowshik at cs.uiuc.edu
Tue Dec 6 10:01:40 PST 2005



Changes in directory llvm/include/llvm/Analysis/DataStructure:

DSNode.h updated: 1.54 -> 1.55
---
Log message:

Handling of zero length last fields in struct used for growing it arbitrarily



---
Diffs of the changes:  (+2 -1)

 DSNode.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/include/llvm/Analysis/DataStructure/DSNode.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.54 llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.55
--- llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.54	Thu Apr 21 15:18:05 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSNode.h	Tue Dec  6 12:01:20 2005
@@ -424,12 +424,13 @@
   // Disabling this assertion because it is failing on a "magic" struct
   // in named (from bind).  The fourth field is an array of length 0,
   // presumably used to create struct instances of different sizes.
-  assert((!N ||
+  /*  assert((!N ||
           N->isNodeCompletelyFolded() ||
           (N->Size == 0 && Offset == 0) ||
           (int(Offset) >= 0 && Offset < N->Size) ||
           (int(Offset) < 0 && -int(Offset) < int(N->Size)) ||
           N->isForwarding()) && "Node handle offset out of range!");
+  */
   if (N == 0 || !N->isForwarding())
     return N;
 






More information about the llvm-commits mailing list