1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

Try to fix the MSVC build.

llvm-svn: 239877
This commit is contained in:
Rafael Espindola 2015-06-17 03:13:26 +00:00
parent c9da0caf08
commit 2549bed7f1

View File

@ -83,7 +83,7 @@ getStreamedModuleFromAssembly(LLVMContext &Context, SmallString<1024> &Mem,
writeModuleToBuffer(parseAssembly(Assembly), Mem);
std::unique_ptr<MemoryBuffer> Buffer =
MemoryBuffer::getMemBuffer(Mem.str(), "test", false);
auto Streamer = make_unique<BufferDataStreamer>(std::move(Buffer));
auto Streamer = llvm::make_unique<BufferDataStreamer>(std::move(Buffer));
ErrorOr<std::unique_ptr<Module>> ModuleOrErr =
getStreamedBitcodeModule("test", std::move(Streamer), Context);
return std::move(ModuleOrErr.get());