Update GEP constructors to use an iterator interface to fix
[oota-llvm.git] / lib / VMCore / ConstantFold.h
index e01fa77084015e3fa212aa6e0f248116f3f6533c..ffb7b1057e5b5b83b249ce5c00bc3e5ac38d3371 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef CONSTANTFOLDING_H
 #define CONSTANTFOLDING_H
 
+#include <iterator>
+
 namespace llvm {
   class Value;
   class Constant;
@@ -46,6 +48,7 @@ namespace llvm {
   Constant *ConstantFoldCompareInstruction(unsigned short predicate, 
                                            const Constant *C1, 
                                            const Constant *C2);
+
   Constant *ConstantFoldGetElementPtr(const Constant *C,
                                       Constant* const *Idxs, unsigned NumIdx);
 } // End llvm namespace