diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:13:07 +0000 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:13:07 +0000 |
| commit | 9784cef38dd71ae37ccc419d7e1e10bafe59e9df (patch) | |
| tree | f6c4fc73003967df2766cd334ee7bf6dcae653dd /llvm/lib/MC/MCELFStreamer.cpp | |
| parent | f5199f68f2e636b5bc2a9f976fd19cc89aad10ab (diff) | |
| download | bcm5719-llvm-9784cef38dd71ae37ccc419d7e1e10bafe59e9df.tar.gz bcm5719-llvm-9784cef38dd71ae37ccc419d7e1e10bafe59e9df.zip | |
Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction()
llvm-svn: 200348
Diffstat (limited to 'llvm/lib/MC/MCELFStreamer.cpp')
| -rw-r--r-- | llvm/lib/MC/MCELFStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCELFStreamer.cpp b/llvm/lib/MC/MCELFStreamer.cpp index 580e3a86560..142fdcdefab 100644 --- a/llvm/lib/MC/MCELFStreamer.cpp +++ b/llvm/lib/MC/MCELFStreamer.cpp @@ -412,7 +412,7 @@ void MCELFStreamer::EmitInstToData(const MCInst &Inst, SmallVector<MCFixup, 4> Fixups; SmallString<256> Code; raw_svector_ostream VecOS(Code); - Assembler.getEmitter().EncodeInstruction(Inst, VecOS, Fixups); + Assembler.getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI); VecOS.flush(); for (unsigned i = 0, e = Fixups.size(); i != e; ++i) |

