Fix analysis of the Burg program

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5401 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-01-22 22:00:24 +00:00
parent d9bdbaac96
commit 6f6fef8c26

View File

@ -448,7 +448,7 @@ void DSNode::MergeNodes(DSNodeHandle& CurNodeH, DSNodeHandle& NH) {
// Make all of the outgoing links of *NH now be outgoing links of
// this. This can cause recursive merging!
//
for (unsigned i = 0; i < NSize; i += DS::PointerSize) {
for (unsigned i = 0; i < NH.getNode()->getSize(); i += DS::PointerSize) {
DSNodeHandle &Link = NH.getNode()->getLink(i);
if (Link.getNode()) {
// Compute the offset into the current node at which to