diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-25 20:44:56 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-25 20:44:56 +0000 |
commit | f078808a2bbd4d1516899dc48d036c9ca702b211 (patch) | |
tree | de03ce5f38971fef2290747d3720669a2ea0f974 /llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | |
parent | 4d29d2d2226e51d740348537bd0102b6871f9dd2 (diff) | |
download | bcm5719-llvm-f078808a2bbd4d1516899dc48d036c9ca702b211.tar.gz bcm5719-llvm-f078808a2bbd4d1516899dc48d036c9ca702b211.zip |
Do not depend on structure elements being of type UByteTy
llvm-svn: 10224
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/Interpreter.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index 380672ac72e..465a08a2641 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/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 |