summaryrefslogtreecommitdiff
path: root/lib/MC/MCMachOStreamer.cpp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:13:07 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:13:07 +0000
commit2ddea4b44d7d0f8b016d49bd8a16146f84a2a27e (patch)
treea8e2291865f7ee75b392a8ce5aa085e5f54f0056 /lib/MC/MCMachOStreamer.cpp
parent41c8ba9d61acb86847ad6cf823656e212d8dbbf5 (diff)
downloadllvm-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/MCMachOStreamer.cpp')
-rw-r--r--lib/MC/MCMachOStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/MC/MCMachOStreamer.cpp b/lib/MC/MCMachOStreamer.cpp
index f2fa37c056..4aa7648c80 100644
--- a/lib/MC/MCMachOStreamer.cpp
+++ b/lib/MC/MCMachOStreamer.cpp
@@ -371,7 +371,7 @@ void MCMachOStreamer::EmitInstToData(const MCInst &Inst,
SmallVector<MCFixup, 4> Fixups;
SmallString<256> Code;
raw_svector_ostream VecOS(Code);
- getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups);
+ getAssembler().getEmitter().EncodeInstruction(Inst, VecOS, Fixups, STI);
VecOS.flush();
// Add the fixups and data.