summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-03 08:35:14 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-03 08:35:14 +0000
commit47567bdcb5ba3886eaf3fa5f0e0b912a24c12347 (patch)
treef00e28aef43f77bf48affd0adffe991a11bd62b4 /include/llvm/ExecutionEngine
parent52f32d55665ef02e6ebe4518b0a1e2e2a4df0bea (diff)
downloadllvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.tar.gz
llvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.tar.bz2
llvm-47567bdcb5ba3886eaf3fa5f0e0b912a24c12347.tar.xz
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h
index c2f8fed70d..3ebc65c621 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