mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Try to fix the MSVC build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239877 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
360661f1d1
commit
1c19be4cd3
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user