diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:31:22 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-01-12 11:31:22 +0000 |
commit | 9e3ee34ff586d8009102306ef48a7c47b30c5380 (patch) | |
tree | bff013b92d6b1fc01ade9fd03c2e61feade60b47 /lib/CodeGen/BackendUtil.cpp | |
parent | c23c89d28e8b2b99374a22b9a013cf0ea8188d2a (diff) |
[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
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: |