From f7db87f2dc58980ab9c6f570a4ac242580ecd733 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 20 Apr 2009 16:26:25 +0000 Subject: It's not necessary for PrintModulePass to flush the output streams now that errs() is properly non-buffered. llvm-svn: 69602 --- llvm/lib/VMCore/PrintModulePass.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/lib/VMCore/PrintModulePass.cpp') diff --git a/llvm/lib/VMCore/PrintModulePass.cpp b/llvm/lib/VMCore/PrintModulePass.cpp index 7cb009a7d3c..0a7f4497a8e 100644 --- a/llvm/lib/VMCore/PrintModulePass.cpp +++ b/llvm/lib/VMCore/PrintModulePass.cpp @@ -38,7 +38,6 @@ namespace { bool runOnModule(Module &M) { (*Out) << M; - Out->flush(); return false; } @@ -67,7 +66,6 @@ namespace { // bool runOnFunction(Function &F) { (*Out) << Banner << static_cast(F); - Out->flush(); return false; } -- cgit v1.2.3