From 47567bdcb5ba3886eaf3fa5f0e0b912a24c12347 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sat, 3 Mar 2007 08:35:14 +0000 Subject: 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 --- include/llvm/ExecutionEngine/ExecutionEngine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/llvm/ExecutionEngine') 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 -- cgit v1.2.3