aboutsummaryrefslogtreecommitdiff
path: root/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
commit4b1000d117f1b7cc5411bc251d141fe182a4ae1c (patch)
treeee4de67b3146530a062aed953ac55bf9846ea33b /lib/MC/MCAssembler.cpp
parent943005e09482f47619cc1345320df359c6c3021e (diff)
Don't call flush() at a library level which isn't checking for errors
and doesn't know where the output is going. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105274 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r--lib/MC/MCAssembler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp
index 59366565a6..c971ee207f 100644
--- a/lib/MC/MCAssembler.cpp
+++ b/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;
}