diff options
| author | Dan Gohman <gohman@apple.com> | 2009-04-20 16:26:25 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-04-20 16:26:25 +0000 |
| commit | f7db87f2dc58980ab9c6f570a4ac242580ecd733 (patch) | |
| tree | e0f1c2e776d1fb2a1bf581989a0bf812c704f4bd /llvm/lib/VMCore/PrintModulePass.cpp | |
| parent | 59ceb59f5b8a841e480313a80d9a9c6c0123fc99 (diff) | |
| download | bcm5719-llvm-f7db87f2dc58980ab9c6f570a4ac242580ecd733.tar.gz bcm5719-llvm-f7db87f2dc58980ab9c6f570a4ac242580ecd733.zip | |
It's not necessary for PrintModulePass to flush the output streams
now that errs() is properly non-buffered.
llvm-svn: 69602
Diffstat (limited to 'llvm/lib/VMCore/PrintModulePass.cpp')
| -rw-r--r-- | llvm/lib/VMCore/PrintModulePass.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<Value&>(F); - Out->flush(); return false; } |

