From: Chandler Carruth Date: Sun, 12 Jan 2014 11:31:22 +0000 (+0000) Subject: [PM] Update the creation of an IR printing pass to reflect the API X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e3ee34ff586d8009102306ef48a7c47b30c5380;p=clang [PM] Update the creation of an IR printing pass to reflect the API update in LLVM r199044. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199045 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 6b5b93a83c..1b71e6066a 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -570,7 +570,7 @@ void EmitAssemblyHelper::EmitAssembly(BackendAction Action, raw_ostream *OS) { case Backend_EmitLL: FormattedOS.setStream(*OS, formatted_raw_ostream::PRESERVE_STREAM); - getPerModulePasses()->add(createPrintModulePass(&FormattedOS)); + getPerModulePasses()->add(createPrintModulePass(FormattedOS)); break; default: