From 2f3b47dd617e02e31d0b32e5a647ddf3cf545c9a Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 11 Aug 2015 18:11:17 +0000 Subject: [PATCH] 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 --- lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }