mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
[ORC] Fix an ambiguous make_unique call.
llvm-svn: 333492
This commit is contained in:
parent
480513a582
commit
17dd1ffa24
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user