From: Chris Lattner Date: Thu, 25 Jul 2002 17:58:58 +0000 (+0000) Subject: Fix previous checkin X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=30bc0547d9167e1a92bc40e156e35cfd2ee06fe8;p=oota-llvm.git Fix previous checkin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3093 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Analysis/InstForest.h b/include/llvm/Analysis/InstForest.h index 6a05e2a7622..5d27c819159 100644 --- a/include/llvm/Analysis/InstForest.h +++ b/include/llvm/Analysis/InstForest.h @@ -142,6 +142,8 @@ template class InstForest : public std::vector *> { friend class InstTreeNode; + typedef std::vector *>::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; } };