diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-04-12 20:15:44 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-04-12 20:15:44 +0000 |
commit | de9b4c4a7f772ec1afe45160240ba567a52067d3 (patch) | |
tree | df9cf99a554c5ec21e086088a96dc01b909f13b9 /docs/tutorial/JITTutorial1.html | |
parent | 5db4cdfc56f17959d3d0d3067af1b2346bcc0120 (diff) |
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/JITTutorial1.html')
-rw-r--r-- | docs/tutorial/JITTutorial1.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index b4054a1643..b063848e09 100644 --- a/docs/tutorial/JITTutorial1.html +++ b/docs/tutorial/JITTutorial1.html @@ -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; |