aboutsummaryrefslogtreecommitdiff
path: root/docs/tutorial/JITTutorial2.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/JITTutorial2.html')
-rw-r--r--docs/tutorial/JITTutorial2.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html
index 3d918b039b..49192b4f05 100644
--- a/docs/tutorial/JITTutorial2.html
+++ b/docs/tutorial/JITTutorial2.html
@@ -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;