diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
| commit | eb11fae6d08f479c0799db45860a98af528fa6e7 (patch) | |
| tree | 44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /unittests/Bitcode/BitReaderTest.cpp | |
| parent | b8a2042aa938069e862750553db0e4d82d25822c (diff) | |
Notes
Diffstat (limited to 'unittests/Bitcode/BitReaderTest.cpp')
| -rw-r--r-- | unittests/Bitcode/BitReaderTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Module> parseAssembly(LLVMContext &Context, static void writeModuleToBuffer(std::unique_ptr<Module> Mod, SmallVectorImpl<char> &Buffer) { raw_svector_ostream OS(Buffer); - WriteBitcodeToFile(Mod.get(), OS); + WriteBitcodeToFile(*Mod, OS); } static std::unique_ptr<Module> getLazyModuleFromAssembly(LLVMContext &Context, |
