Use llvm::make_unique to fix the MSVC build.

llvm-svn: 244641
This commit is contained in:
Rafael Espindola 2015-08-11 18:11:17 +00:00
parent 76e24ea955
commit 3adc7ce9f1
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}