diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-16 01:43:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-16 01:43:11 +0000 |
commit | ff5feedf283b5321a0a16b2ee02b58af41018222 (patch) | |
tree | 34acb3d93ff46f452c2956bafe1093df5c3abf8f /lib/Analysis/DataStructure/Printer.cpp | |
parent | 641e1c252d40df3cd354ec7ed543018f31e55d96 (diff) |
The second element of the iterator is really an offset, not a link
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4196 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Printer.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Printer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/Printer.cpp b/lib/Analysis/DataStructure/Printer.cpp index 87ba971211..d8e755b42b 100644 --- a/lib/Analysis/DataStructure/Printer.cpp +++ b/lib/Analysis/DataStructure/Printer.cpp @@ -192,7 +192,7 @@ struct DOTGraphTraits<DSGraph*> : public DefaultDOTGraphTraits { static int getEdgeSourceLabel(DSNode *Node, DSNode::iterator I) { assert(Node == I.getNode() && "Iterator not for this node!"); - return Node->getMergeMapLabel(I.getLink()); + return Node->getMergeMapLabel(I.getOffset()); } }; |