aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/Interpreter
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-12-11 00:23:28 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-12-11 00:23:28 +0000
commitdfa58498ae0f8f306dd0f86fd7f070cad0245c62 (patch)
tree4421fdf6269f3f096564f706594b719f148ab00a /lib/ExecutionEngine/Interpreter
parent63438cc9b02d715ef2ef470c5a4a6282c5fef406 (diff)
Fix typo in comment. Add prototype for getConstantExprValue().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10390 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/Interpreter')
-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 c6aa896eb0..f8bd316517 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/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);