mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-28 00:07:22 +00:00
It's not necessary for PrintModulePass to flush the output streams
now that errs() is properly non-buffered. llvm-svn: 69602
This commit is contained in:
parent
6f18ecd37b
commit
a9985913d7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user