diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-03 08:35:14 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-03 08:35:14 +0000 |
commit | 47567bdcb5ba3886eaf3fa5f0e0b912a24c12347 (patch) | |
tree | f00e28aef43f77bf48affd0adffe991a11bd62b4 /include/llvm/ExecutionEngine | |
parent | 52f32d55665ef02e6ebe4518b0a1e2e2a4df0bea (diff) | |
download | external_llvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.zip external_llvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.tar.gz external_llvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.tar.bz2 |
Require the destination GlobalValue for LoadValueFromMemory to be passed
in as a parameter instead of returned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r-- | include/llvm/ExecutionEngine/ExecutionEngine.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index c2f8fed..3ebc65c 100644 --- a/include/llvm/ExecutionEngine/ExecutionEngine.h +++ b/include/llvm/ExecutionEngine/ExecutionEngine.h @@ -217,7 +217,8 @@ protected: void EmitGlobalVariable(const GlobalVariable *GV); GenericValue getConstantValue(const Constant *C); - GenericValue LoadValueFromMemory(GenericValue *Ptr, const Type *Ty); + void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr, + const Type *Ty); }; } // End llvm namespace |