diff --git a/include/llvm/ExecutionEngine/ExecutionEngine.h b/include/llvm/ExecutionEngine/ExecutionEngine.h index c2f8fed70df..3ebc65c621b 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