[llvm-commits] [llvm] r80013 - in /llvm/trunk/tools: llc/llc.cpp lto/LTOCodeGenerator.cpp
Dan Gohman
gohman at apple.com
Tue Aug 25 10:48:18 PDT 2009
Author: djg
Date: Tue Aug 25 12:48:17 2009
New Revision: 80013
URL: http://llvm.org/viewvc/llvm-project?rev=80013&view=rev
Log:
Delete some unnecessary flushes.
Modified:
llvm/trunk/tools/llc/llc.cpp
llvm/trunk/tools/lto/LTOCodeGenerator.cpp
Modified: llvm/trunk/tools/llc/llc.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llc/llc.cpp?rev=80013&r1=80012&r2=80013&view=diff
==============================================================================
--- llvm/trunk/tools/llc/llc.cpp (original)
+++ llvm/trunk/tools/llc/llc.cpp Tue Aug 25 12:48:17 2009
@@ -397,8 +397,6 @@
Passes.doFinalization();
}
- Out->flush();
-
// Delete the ostream if it's not a stdout stream
if (Out != &fouts()) delete Out;
Modified: llvm/trunk/tools/lto/LTOCodeGenerator.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lto/LTOCodeGenerator.cpp?rev=80013&r1=80012&r2=80013&view=diff
==============================================================================
--- llvm/trunk/tools/lto/LTOCodeGenerator.cpp (original)
+++ llvm/trunk/tools/lto/LTOCodeGenerator.cpp Tue Aug 25 12:48:17 2009
@@ -469,8 +469,6 @@
codeGenPasses->doFinalization();
- out.flush();
-
return false; // success
}
More information about the llvm-commits
mailing list