forked from OSchip/llvm-project
Use llvm::make_unique to fix the MSVC build.
llvm-svn: 244641
This commit is contained in:
parent
76e24ea955
commit
3adc7ce9f1
|
@ -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