[llvm-commits] [llvm] r68910 - in /llvm/trunk/docs/tutorial: JITTutorial1.html JITTutorial2.html
Nick Lewycky
nicholas at mxc.ca
Sun Apr 12 13:15:45 PDT 2009
Author: nicholas
Date: Sun Apr 12 15:15:44 2009
New Revision: 68910
URL: http://llvm.org/viewvc/llvm-project?rev=68910&view=rev
Log:
Fix compile error. Pointed out by mait on #llvm IRC!
Modified:
llvm/trunk/docs/tutorial/JITTutorial1.html
llvm/trunk/docs/tutorial/JITTutorial2.html
Modified: llvm/trunk/docs/tutorial/JITTutorial1.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/JITTutorial1.html?rev=68910&r1=68909&r2=68910&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/JITTutorial1.html (original)
+++ llvm/trunk/docs/tutorial/JITTutorial1.html Sun Apr 12 15:15:44 2009
@@ -78,7 +78,7 @@
verifyModule(*Mod, PrintMessageAction);
PassManager PM;
- PM.add(new PrintModulePass(&llvm::cout));
+ PM.add(createPrintModulePass(&llvm::cout));
PM.run(*Mod);
delete Mod;
Modified: llvm/trunk/docs/tutorial/JITTutorial2.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/tutorial/JITTutorial2.html?rev=68910&r1=68909&r2=68910&view=diff
==============================================================================
--- llvm/trunk/docs/tutorial/JITTutorial2.html (original)
+++ llvm/trunk/docs/tutorial/JITTutorial2.html Sun Apr 12 15:15:44 2009
@@ -68,7 +68,7 @@
verifyModule(*Mod, PrintMessageAction);
PassManager PM;
- PM.add(new PrintModulePass(&llvm::cout));
+ PM.add(createPrintModulePass(&llvm::cout));
PM.run(*Mod);
delete Mod;
More information about the llvm-commits
mailing list