diff options
author | Dan Gohman <gohman@apple.com> | 2010-06-01 16:31:34 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-06-01 16:31:34 +0000 |
commit | a76715fc882781f62e63a8af898c66d106ad305c (patch) | |
tree | ddb2d95cf05dd7bad3f767938d08676f79249219 /llvm/lib/MC/MCAssembler.cpp | |
parent | c699831d09b7c86decf4c490d44c48d76891cce0 (diff) | |
download | bcm5719-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.cpp | 1 |
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; } |