Delete some unnecessary flushes.

llvm-svn: 80013
This commit is contained in:
Dan Gohman 2009-08-25 17:48:17 +00:00
parent 0f6bf2dbb8
commit 896ef2be35
2 changed files with 0 additions and 4 deletions

View File

@ -397,8 +397,6 @@ int main(int argc, char **argv) {
Passes.doFinalization();
}
Out->flush();
// Delete the ostream if it's not a stdout stream
if (Out != &fouts()) delete Out;

View File

@ -469,8 +469,6 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out,
codeGenPasses->doFinalization();
out.flush();
return false; // success
}