From 8af7cb0001758e7291a133faafd9d413d7e6a5b1 Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Sun, 29 Mar 2015 22:07:07 +0000 Subject: [PATCH] [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 --- include/llvm/ExecutionEngine/Orc/IndirectionUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = -- 2.34.1