Revise APIs for creating constantexpr GEPs to not require the use of vectors.
This allows us to eliminate many temporary vectors, and theirassociated malloc/free pairs.

llvm-svn: 33692
diff --git a/llvm/lib/VMCore/ConstantFolding.h b/llvm/lib/VMCore/ConstantFolding.h
index 6d7327c..e01fa77 100644
--- a/llvm/lib/VMCore/ConstantFolding.h
+++ b/llvm/lib/VMCore/ConstantFolding.h
@@ -19,8 +19,6 @@
 #ifndef CONSTANTFOLDING_H
 #define CONSTANTFOLDING_H
 
-#include <vector>
-
 namespace llvm {
   class Value;
   class Constant;
@@ -49,7 +47,7 @@
                                            const Constant *C1, 
                                            const Constant *C2);
   Constant *ConstantFoldGetElementPtr(const Constant *C,
-                                      const std::vector<Value*> &IdxList);
+                                      Constant* const *Idxs, unsigned NumIdx);
 } // End llvm namespace
 
 #endif