Adjust to new gep_type_iterator prototypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12644 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index cc17e99..2f3ac2b 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -25,8 +25,10 @@
namespace llvm {
struct FunctionInfo;
-class gep_type_iterator;
+template<typename T> class generic_gep_type_iterator;
class ConstantExpr;
+typedef generic_gep_type_iterator<User::op_iterator> gep_type_iterator;
+
// AllocaHolder - Object to track all of the blocks of memory allocated by
// alloca. When the function returns, this object is popped off the execution