aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/DataStructure.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-22 22:00:24 +0000
committerChris Lattner <sabre@nondot.org>2003-01-22 22:00:24 +0000
commit6f6fef8c2696ec014affab011d71c3c86372051f (patch)
treea324fc84c471adb605b0d1636444e36cd98d0d39 /lib/Analysis/DataStructure/DataStructure.cpp
parentd9bdbaac969d725f9317a52e32970ac679964c9b (diff)
Fix analysis of the Burg program
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5401 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/DataStructure.cpp')
-rw-r--r--lib/Analysis/DataStructure/DataStructure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/DataStructure.cpp b/lib/Analysis/DataStructure/DataStructure.cpp
index 5c8b37302b..0e61f03781 100644
--- a/lib/Analysis/DataStructure/DataStructure.cpp
+++ b/lib/Analysis/DataStructure/DataStructure.cpp
@@ -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