From 29794cba810ec249a9ede5ea77333a71579fd182 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 5 Sep 2003 18:55:03 +0000 Subject: 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 --- include/llvm/ExecutionEngine/ExecutionEngine.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index fdb219d..98d9dae 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -75,14 +75,13 @@ public: // virtual void *getPointerToFunction(Function *F) = 0; + void StoreValueToMemory(GenericValue Val, GenericValue *Ptr, const Type *Ty); + void InitializeMemory(const Constant *Init, void *Addr); + protected: void emitGlobals(); - -public: // FIXME: protected: // API shared among subclasses GenericValue getConstantValue(const Constant *C); - void StoreValueToMemory(GenericValue Val, GenericValue *Ptr, const Type *Ty); GenericValue LoadValueFromMemory(GenericValue *Ptr, const Type *Ty); - void InitializeMemory(const Constant *Init, void *Addr); }; #endif -- cgit v1.1