diff options
Diffstat (limited to 'docs/tutorial/JITTutorial1.html')
-rw-r--r-- | docs/tutorial/JITTutorial1.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index b063848e09..ac3958e642 100644 --- a/docs/tutorial/JITTutorial1.html +++ b/docs/tutorial/JITTutorial1.html @@ -61,6 +61,7 @@ entry: #include "llvm/Analysis/Verifier.h" #include "llvm/Assembly/PrintModulePass.h" #include "llvm/Support/IRBuilder.h" +#include "llvm/Support/raw_ostream.h" </pre> </div> @@ -78,7 +79,7 @@ int main(int argc, char**argv) { verifyModule(*Mod, PrintMessageAction); PassManager PM; - PM.add(createPrintModulePass(&llvm::cout)); + PM.add(createPrintModulePass(&outs())); PM.run(*Mod); delete Mod; |