mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
It's not necessary for PrintModulePass to flush the output streams
now that errs() is properly non-buffered. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
51747a7e51
commit
f30a8641d1
@ -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…
Reference in New Issue
Block a user