From: Rafael Espindola Date: Tue, 11 Aug 2015 18:11:17 +0000 (+0000) Subject: Use llvm::make_unique to fix the MSVC build. X-Git-Tag: android-x86-7.1-r4~44758 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=2f3b47dd617e02e31d0b32e5a647ddf3cf545c9a;p=android-x86%2Fexternal-llvm.git 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 --- diff --git a/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp b/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp index bac635d76fa..0f3ac94994b 100644 --- a/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp +++ b/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp @@ -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(TargetTriple, CPU, FS, *this); + I = llvm::make_unique(TargetTriple, CPU, FS, *this); } return I.get(); }