mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user