mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +00:00
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
This commit is contained in:
parent
5db4cdfc56
commit
de9b4c4a7f
@ -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