[llvm-commits] CVS: llvm/include/llvm/Analysis/DataStructure/DSNode.h
Sumant Kowshik
kowshik at cs.uiuc.edu
Tue Dec 6 10:16:23 PST 2005
Changes in directory llvm/include/llvm/Analysis/DataStructure:
DSNode.h updated: 1.55 -> 1.56
---
Log message:
Added comment for removing assert
---
Diffs of the changes: (+3 -0)
DSNode.h | 3 +++
1 files changed, 3 insertions(+)
Index: llvm/include/llvm/Analysis/DataStructure/DSNode.h
diff -u llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.55 llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.56
--- llvm/include/llvm/Analysis/DataStructure/DSNode.h:1.55 Tue Dec 6 12:01:20 2005
+++ llvm/include/llvm/Analysis/DataStructure/DSNode.h Tue Dec 6 12:16:08 2005
@@ -424,6 +424,9 @@
// 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.
+ // In a variable length struct, Offset could exceed Size when getNode()
+ // is called before such a node is folded. In this case, the DS Analysis now
+ // correctly folds this node after calling getNode.
/* assert((!N ||
N->isNodeCompletelyFolded() ||
(N->Size == 0 && Offset == 0) ||
More information about the llvm-commits
mailing list