mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-09 13:41:35 +00:00
Use llvm::make_unique to fix the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
539661280d
commit
2f3b47dd61
@ -77,7 +77,7 @@ WebAssemblyTargetMachine::getSubtargetImpl(const Function &F) const {
|
||||
// creation will depend on the TM and the code generation flags on the
|
||||
// function that reside in TargetOptions.
|
||||
resetTargetOptions(F);
|
||||
I = make_unique<WebAssemblySubtarget>(TargetTriple, CPU, FS, *this);
|
||||
I = llvm::make_unique<WebAssemblySubtarget>(TargetTriple, CPU, FS, *this);
|
||||
}
|
||||
return I.get();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user