Minor cosmetic cleanups in the calculation of alignments for
[oota-llvm.git] / include / llvm / ADT / PostOrderIterator.h
index 76d99b4a2d6b44b984277fc9a17bda699f90a540..42c808960d3d04abdda8a7269de579518c87c842 100644 (file)
@@ -20,6 +20,7 @@
 #include "llvm/ADT/iterator"
 #include <stack>
 #include <set>
+#include <vector>
 
 namespace llvm {
 
@@ -146,7 +147,7 @@ po_ext_iterator<T, SetType> po_ext_end(T G, SetType &S) {
 
 // Provide global definitions of inverse post order iterators...
 template <class T, 
-          class SetType = std::set<typename GraphTraits<T>::NoddeType*>,  
+          class SetType = std::set<typename GraphTraits<T>::NodeType*>,  
           bool External = false> 
 struct ipo_iterator : public po_iterator<Inverse<T>, SetType, External > { 
   ipo_iterator(const po_iterator<Inverse<T>, SetType, External> &V) :