summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit2bba152fb82bc064ac15c95e25f4dd254319a499 (patch)
treeb0cc13e6faa9e2a4a351e28e960fb107682f26b2 /llvm/lib
parent5a8ec7d5f64e6001bf12a3e41cb0757a6d427cd4 (diff)
downloadbcm5719-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.h4
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);
OpenPOWER on IntegriCloud