mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-16 08:08:01 +00:00
Use llvm::make_unique to fix the MSVC build.
llvm-svn: 244641
This commit is contained in:
parent
89e34e6618
commit
574b6734d9
@ -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