diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-12-11 00:23:28 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-12-11 00:23:28 +0000 |
commit | 2bba152fb82bc064ac15c95e25f4dd254319a499 (patch) | |
tree | b0cc13e6faa9e2a4a351e28e960fb107682f26b2 /llvm/lib | |
parent | 5a8ec7d5f64e6001bf12a3e41cb0757a6d427cd4 (diff) | |
download | bcm5719-llvm-2bba152fb82bc064ac15c95e25f4dd254319a499.tar.gz bcm5719-llvm-2bba152fb82bc064ac15c95e25f4dd254319a499.zip |
Fix typo in comment. Add prototype for getConstantExprValue().
llvm-svn: 10390
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/ExecutionEngine/Interpreter/Interpreter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h index c6aa896eb09..f8bd316517c 100644 --- a/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h +++ b/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h @@ -26,9 +26,10 @@ namespace llvm { struct FunctionInfo; // Defined in ExecutionAnnotations.h class gep_type_iterator; +class ConstantExpr; // AllocaHolder - Object to track all of the blocks of memory allocated by -// alloca. When the function returns, this object is poped off the execution +// alloca. When the function returns, this object is popped off the execution // stack, which causes the dtor to be run, which frees all the alloca'd memory. // class AllocaHolder { @@ -174,6 +175,7 @@ private: // Helper functions void initializeExecutionEngine(); void initializeExternalFunctions(); + GenericValue getConstantExprValue(ConstantExpr *CE, ExecutionContext &SF); GenericValue getOperandValue(Value *V, ExecutionContext &SF); GenericValue executeCastOperation(Value *SrcVal, const Type *Ty, ExecutionContext &SF); |