diff options
Diffstat (limited to 'tools/opt')
-rw-r--r-- | tools/opt/opt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index ea6ed33..358cbda 100644 --- a/tools/opt/opt.cpp +++ b/tools/opt/opt.cpp @@ -543,7 +543,7 @@ int main(int argc, char **argv) { } if (PrintEachXForm) - Passes.add(new PrintModulePass(&cerr)); + Passes.add(createPrintModulePass(&cerr)); } // If -std-compile-opts was specified at the end of the pass list, add them. |