Revert r129688; it's breaking buildbots.

llvm-svn: 129689
This commit is contained in:
Eli Friedman 2011-04-18 05:54:54 +00:00
parent 2dc287a147
commit 3f8ecf5cc5
1 changed files with 1 additions and 3 deletions

View File

@ -191,10 +191,8 @@ void MCObjectStreamer::EmitInstruction(const MCInst &Inst) {
void MCObjectStreamer::EmitInstToFragment(const MCInst &Inst) {
MCInstFragment *IF = new MCInstFragment(Inst, getCurrentSectionData());
SmallString<128> Code;
raw_svector_ostream VecOS(Code);
raw_svector_ostream VecOS(IF->getCode());
getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, IF->getFixups());
IF->getCode().append(Code.begin(), Code.end());
}
static const MCExpr *BuildSymbolDiff(MCContext &Context,