diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-08 16:52:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-08 16:52:16 +0000 |
commit | f88b9a639770327196b2a00f365155b954dd1d30 (patch) | |
tree | 29d4754a82964f1ca4218f9bb313c455f5c481a1 /include/llvm/ExecutionEngine | |
parent | da82ed52ac02497d343b898cca0bb2cf303f062d (diff) | |
download | external_llvm-f88b9a639770327196b2a00f365155b954dd1d30.zip external_llvm-f88b9a639770327196b2a00f365155b954dd1d30.tar.gz external_llvm-f88b9a639770327196b2a00f365155b954dd1d30.tar.bz2 |
Add a pointersize/endianness safe load routine to match the store routine
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index 57eee95..e833be7 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -79,6 +79,7 @@ private: 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 *CreateArgv(const std::vector<std::string> &InputArgv); void InitializeMemory(const Constant *Init, void *Addr); }; |