Adjust to new gep_type_iterator prototypes.
authorChris Lattner <sabre@nondot.org>
Sun, 4 Apr 2004 17:30:06 +0000 (17:30 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 4 Apr 2004 17:30:06 +0000 (17:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12644 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Interpreter.h

index cc17e99a96729348c7b11d777e64e71133c9da73..2f3ac2b91b6a01e144305498cfb45611ae93d0df 100644 (file)
 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