Fix compile error. Pointed out by mait on #llvm IRC!

llvm-svn: 68910
This commit is contained in:
Nick Lewycky 2009-04-12 20:15:44 +00:00
parent cbafe8d75c
commit 4ac15cee54
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ int main(int argc, char**argv) {
verifyModule(*Mod, PrintMessageAction);
PassManager PM;
PM.add(new PrintModulePass(&llvm::cout));
PM.add(createPrintModulePass(&llvm::cout));
PM.run(*Mod);
delete Mod;

View File

@ -68,7 +68,7 @@ int main(int argc, char**argv) {
verifyModule(*Mod, PrintMessageAction);
PassManager PM;
PM.add(new PrintModulePass(&llvm::cout));
PM.add(createPrintModulePass(&llvm::cout));
PM.run(*Mod);
delete Mod;