From: Lang Hames Date: Sun, 29 Mar 2015 22:07:07 +0000 (+0000) Subject: [Orc] Add missing inline keyword to the function introduced in r233504. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8af7cb0001758e7291a133faafd9d413d7e6a5b1;p=llvm [Orc] Add missing inline keyword to the function introduced in r233504. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233506 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h b/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h index 3a2158d6338..f39fcab1f0a 100644 --- a/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h +++ b/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h @@ -196,7 +196,7 @@ private: TargetAddress ResolverBlockAddr; }; -Constant* createIRTypedAddress(FunctionType &FT, TargetAddress Addr) { +inline Constant* createIRTypedAddress(FunctionType &FT, TargetAddress Addr) { Constant *AddrIntVal = ConstantInt::get(Type::getInt64Ty(FT.getContext()), Addr); Constant *AddrPtrVal =