aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ExecutionEngine/Interpreter/Interpreter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-25 20:44:56 +0000
committerChris Lattner <sabre@nondot.org>2003-11-25 20:44:56 +0000
commit4af6de8f0a767a3892ff7682954cbd2ae2ca3de8 (patch)
treebc65a5fc878b50ed982e3dfeae56ebe4e9da8ba0 /lib/ExecutionEngine/Interpreter/Interpreter.h
parent9b3b5dee7e836ab42eb71613ecc75b0840256382 (diff)
downloadexternal_llvm-4af6de8f0a767a3892ff7682954cbd2ae2ca3de8.zip
external_llvm-4af6de8f0a767a3892ff7682954cbd2ae2ca3de8.tar.gz
external_llvm-4af6de8f0a767a3892ff7682954cbd2ae2ca3de8.tar.bz2
Do not depend on structure elements being of type UByteTy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10224 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index 380672a..465a08a 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -25,6 +25,7 @@
namespace llvm {
struct FunctionInfo; // Defined in ExecutionAnnotations.h
+class gep_type_iterator;
// AllocaHolder - Object to track all of the blocks of memory allocated by
// alloca. When the function returns, this object is poped off the execution
@@ -152,8 +153,8 @@ public:
//FIXME: private:
public:
- GenericValue executeGEPOperation(Value *Ptr, User::op_iterator I,
- User::op_iterator E, ExecutionContext &SF);
+ GenericValue executeGEPOperation(Value *Ptr, gep_type_iterator I,
+ gep_type_iterator E, ExecutionContext &SF);
private: // Helper functions
// SwitchToNewBasicBlock - Start execution in a new basic block and run any