1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Added comment for removing assert

llvm-svn: 24623
This commit is contained in:
Sumant Kowshik 2005-12-06 18:16:08 +00:00
parent 287f45f715
commit 4e682cf56e

View File

@ -424,6 +424,9 @@ inline DSNode *DSNodeHandle::getNode() const {
// 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) ||