From eb11fae6d08f479c0799db45860a98af528fa6e7 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 10:51:19 +0000 Subject: Vendor import of llvm trunk r338150: https://llvm.org/svn/llvm-project/llvm/trunk@338150 --- unittests/Bitcode/BitReaderTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unittests/Bitcode/BitReaderTest.cpp') diff --git a/unittests/Bitcode/BitReaderTest.cpp b/unittests/Bitcode/BitReaderTest.cpp index 5efb7faf508d..3b4600718b53 100644 --- a/unittests/Bitcode/BitReaderTest.cpp +++ b/unittests/Bitcode/BitReaderTest.cpp @@ -44,7 +44,7 @@ std::unique_ptr parseAssembly(LLVMContext &Context, static void writeModuleToBuffer(std::unique_ptr Mod, SmallVectorImpl &Buffer) { raw_svector_ostream OS(Buffer); - WriteBitcodeToFile(Mod.get(), OS); + WriteBitcodeToFile(*Mod, OS); } static std::unique_ptr getLazyModuleFromAssembly(LLVMContext &Context, -- cgit v1.2.3