projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove and forbid raw_svector_ostream::flush() calls.
[oota-llvm.git]
/
lib
/
MC
/
MCMachOStreamer.cpp
diff --git
a/lib/MC/MCMachOStreamer.cpp
b/lib/MC/MCMachOStreamer.cpp
index 116ef094d18ee91e367690b18d20b63e7df2313a..33045d0fcf7b627b1d1cbb2fbd231503d81fdf4f 100644
(file)
--- a/
lib/MC/MCMachOStreamer.cpp
+++ b/
lib/MC/MCMachOStreamer.cpp
@@
-443,7
+443,6
@@
void MCMachOStreamer::EmitInstToData(const MCInst &Inst,
SmallString<256> Code;
raw_svector_ostream VecOS(Code);
getAssembler().getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI);
- VecOS.flush();
// Add the fixups and data.
for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {