OSDN Git Service

[ORC] Fix an ambiguous make_unique call.
authorLang Hames <lhames@gmail.com>
Wed, 30 May 2018 02:40:40 +0000 (02:40 +0000)
committerLang Hames <lhames@gmail.com>
Wed, 30 May 2018 02:40:40 +0000 (02:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333492 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Orc/IndirectionUtils.cpp

index 4aa5f3b..c2dfaa1 100644 (file)
@@ -63,8 +63,8 @@ JITCompileCallbackManager::getCompileCallback(CompileFunction Compile) {
 
     std::lock_guard<std::mutex> Lock(CCMgrMutex);
     AddrToSymbol[*TrampolineAddr] = CallbackName;
-    cantFail(
-        CallbacksVSO.define(make_unique<CompileCallbackMaterializationUnit>(
+    cantFail(CallbacksVSO.define(
+        llvm::make_unique<CompileCallbackMaterializationUnit>(
             std::move(CallbackName), std::move(Compile))));
     return *TrampolineAddr;
   } else