summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAssembler.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-06-01 16:31:34 +0000
committerDan Gohman <gohman@apple.com>2010-06-01 16:31:34 +0000
commita76715fc882781f62e63a8af898c66d106ad305c (patch)
treeddb2d95cf05dd7bad3f767938d08676f79249219 /llvm/lib/MC/MCAssembler.cpp
parentc699831d09b7c86decf4c490d44c48d76891cce0 (diff)
downloadbcm5719-llvm-a76715fc882781f62e63a8af898c66d106ad305c.tar.gz
bcm5719-llvm-a76715fc882781f62e63a8af898c66d106ad305c.zip
Don't call flush() at a library level which isn't checking for errors
and doesn't know where the output is going. llvm-svn: 105274
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
-rw-r--r--llvm/lib/MC/MCAssembler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index 59366565a6d..c971ee207f9 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -759,7 +759,6 @@ void MCAssembler::Finish() {
// Write the object file.
Writer->WriteObject(*this, Layout);
- OS.flush();
stats::ObjectBytes += OS.tell() - StartOffset;
}
OpenPOWER on IntegriCloud