aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-04-04 17:30:06 +0000
committerChris Lattner <sabre@nondot.org>2004-04-04 17:30:06 +0000
commitc6b0fb39cb227c247269a0815961424cd2718d20 (patch)
treefecf36e56add4fcfaa868d3db4042d05299e5239 /lib/ExecutionEngine/Interpreter/Interpreter.h
parent9dd8770609a85b462ce97308f528dcd92b7d5fef (diff)
Adjust to new gep_type_iterator prototypes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12644 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index cc17e99a96..2f3ac2b91b 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