aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2003-09-05 18:55:03 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2003-09-05 18:55:03 +0000
commit29794cba810ec249a9ede5ea77333a71579fd182 (patch)
tree474fc2f6d9b723e9bddab56b1eaec8a368d65ec5 /include
parent70975eef572b9e132bbaade16ba9edb76f15f287 (diff)
downloadexternal_llvm-29794cba810ec249a9ede5ea77333a71579fd182.zip
external_llvm-29794cba810ec249a9ede5ea77333a71579fd182.tar.gz
external_llvm-29794cba810ec249a9ede5ea77333a71579fd182.tar.bz2
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h7
1 files changed, 3 insertions, 4 deletions
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