projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51747a7
)
It's not necessary for PrintModulePass to flush the output streams
author
Dan Gohman
<gohman@apple.com>
Mon, 20 Apr 2009 16:26:25 +0000
(16:26 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 20 Apr 2009 16:26:25 +0000
(16:26 +0000)
now that errs() is properly non-buffered.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69602
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/PrintModulePass.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/PrintModulePass.cpp
b/lib/VMCore/PrintModulePass.cpp
index 7cb009a7d3c52c54ffcf57f55d356563c86f012d..0a7f4497a8e6a9706ba9dafda6555e075b69d5a8 100644
(file)
--- a/
lib/VMCore/PrintModulePass.cpp
+++ b/
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;
}