mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
Fix compile error. Pointed out by mait on #llvm IRC!
llvm-svn: 68910
This commit is contained in:
parent
8ad1efdfe1
commit
2874a8dd3d
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user