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
This commit is contained in:
Brian Gaeke
2003-09-05 18:55:03 +00:00
parent 70975eef57
commit 29794cba81
3 changed files with 9 additions and 7 deletions

View File

@@ -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