Fix typo in comment. Add prototype for getConstantExprValue().
authorBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:23:28 +0000 (00:23 +0000)
committerBrian Gaeke <gaeke@uiuc.edu>
Thu, 11 Dec 2003 00:23:28 +0000 (00:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10390 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/Interpreter.h

index c6aa896eb09246788baf65f0e9825acefffe39af..f8bd316517cfbc81fa403498bba2e664f8c16299 100644 (file)
@@ -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);