Make getOperandValue and executeCastOperation methods of Interpreter.
This lets us protect a few more ExecutionEngine methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8367 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/ExecutionEngine/Interpreter/Interpreter.h b/lib/ExecutionEngine/Interpreter/Interpreter.h
index ef0540c..a59ebad 100644
--- a/lib/ExecutionEngine/Interpreter/Interpreter.h
+++ b/lib/ExecutionEngine/Interpreter/Interpreter.h
@@ -159,6 +159,9 @@
void initializeExecutionEngine();
void initializeExternalFunctions();
+ GenericValue getOperandValue(Value *V, ExecutionContext &SF);
+ GenericValue executeCastOperation(Value *SrcVal, const Type *Ty,
+ ExecutionContext &SF);
};
#endif