From 285ea5c108082e7f7bce89918202b52aa793902b Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 12 May 2009 18:29:42 +0000 Subject: Use llvm::raw_stream instead of llvm::Streams. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71573 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/tutorial/JITTutorial1.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs/tutorial/JITTutorial1.html') diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index b063848..ac3958e 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" @@ -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; -- cgit v1.1