aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/JITTutorial2.html
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-04-12 20:15:44 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-04-12 20:15:44 +0000
commit3ef05ca396cb2a71df7ecac0aa2fe753245be7f9 (patch)
treedf9cf99a554c5ec21e086088a96dc01b909f13b9 /docs/tutorial/JITTutorial2.html
parent28e8f1280ff686acac749615a2bb557bc820b8e8 (diff)
downloadexternal_llvm-3ef05ca396cb2a71df7ecac0aa2fe753245be7f9.zip
external_llvm-3ef05ca396cb2a71df7ecac0aa2fe753245be7f9.tar.gz
external_llvm-3ef05ca396cb2a71df7ecac0aa2fe753245be7f9.tar.bz2
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
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 3d918b0..49192b4 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(&amp;llvm::cout));
+ PM.add(createPrintModulePass(&amp;llvm::cout));
PM.run(*Mod);
delete Mod;