llvm.org GIT mirror llvm / de9b4c4
Fix compile error. Pointed out by mait on #llvm IRC! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68910 91177308-0d34-0410-b5e6-96231b3b80d8 Nick Lewycky 10 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7777 verifyModule(*Mod, PrintMessageAction);
7878
7979 PassManager PM;
80 PM.add(new PrintModulePass(&llvm::cout));
80 PM.add(createPrintModulePass(&llvm::cout));
8181 PM.run(*Mod);
8282
8383 delete Mod;
6767 verifyModule(*Mod, PrintMessageAction);
6868
6969 PassManager PM;
70 PM.add(new PrintModulePass(&llvm::cout));
70 PM.add(createPrintModulePass(&llvm::cout));
7171 PM.run(*Mod);
7272
7373 delete Mod;