summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit2d4945580fe9ed109725046af39be63899057e80 (patch)
tree7a5f938d0bd4378223f63cb90e778b0ef045cbdc /llvm/lib/Analysis/DataStructure/DataStructure.cpp
parent34debbff45c5b9f6df513fee4682cac156921118 (diff)
downloadbcm5719-llvm-2d4945580fe9ed109725046af39be63899057e80.tar.gz
bcm5719-llvm-2d4945580fe9ed109725046af39be63899057e80.zip
Fix analysis of the Burg program
llvm-svn: 5401
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/DataStructure.cpp')
-rw-r--r--llvm/lib/Analysis/DataStructure/DataStructure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/DataStructure.cpp b/llvm/lib/Analysis/DataStructure/DataStructure.cpp
index 5c8b37302b8..0e61f037813 100644
--- a/llvm/lib/Analysis/DataStructure/DataStructure.cpp
+++ b/llvm/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
OpenPOWER on IntegriCloud