diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-25 17:58:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 17:58:58 +0000 |
commit | 30bc0547d9167e1a92bc40e156e35cfd2ee06fe8 (patch) | |
tree | 568994c1b9df75e2ee2d2448b13a55569885ce76 | |
parent | f8820c353bc75eba9ed900b005fd7d91dd40f839 (diff) |
Fix previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3093 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/InstForest.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index 6a05e2a762..5d27c81915 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -142,6 +142,8 @@ template<class Payload> class InstForest : public std::vector<InstTreeNode<Payload> *> { friend class InstTreeNode<Payload>; + typedef std::vector<InstTreeNode<Payload> *>::const_iterator const_iterator; + // InstMap - Map contains entries for ALL instructions in the method and the // InstTreeNode that they correspond to. // @@ -196,7 +198,7 @@ public: // print - Called by operator<< below... void print(std::ostream &out) const { - for (typename const_iterator I = begin(), E = end(); I != E; ++I) + for (const_iterator I = begin(), E = end(); I != E; ++I) out << *I; } }; |