From 7fe399f169e4d1811d6b562283a00f86cf81d4ef Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Thu, 11 Dec 2003 00:23:28 +0000 Subject: [PATCH] Fix typo in comment. Add prototype for getConstantExprValue(). llvm-svn: 10390 --- lib/ExecutionEngine/Interpreter/Interpreter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h index c6aa896eb09..f8bd316517c 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);