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 | 2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e (patch) | |
tree | a8e2291865f7ee75b392a8ce5aa085e5f54f0056 /lib/MC/MCELFStreamer.cpp | |
parent | 41c8ba9d61acb86847ad6cf823656e212d8dbbf5 (diff) | |
download | llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.gz llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.bz2 llvm-2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e.tar.xz |
Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200348 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCELFStreamer.cpp')
-rw-r--r-- | lib/MC/MCELFStreamer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCELFStreamer.cpp b/lib/MC/MCELFStreamer.cpp index 580e3a8656..142fdcdefa 100644 --- a/lib/MC/MCELFStreamer.cpp +++ b/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) |