projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't call flush() at a library level which isn't checking for errors
[oota-llvm.git]
/
lib
/
MC
/
MCAssembler.cpp
diff --git
a/lib/MC/MCAssembler.cpp
b/lib/MC/MCAssembler.cpp
index 59366565a6d1a849f8822010a2d72f81ab55a798..c971ee207f9be1512143ef275039624c22df3b80 100644
(file)
--- 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;
}