summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9784cef38dd71ae37ccc419d7e1e10bafe59e9df (patch)
treef6c4fc73003967df2766cd334ee7bf6dcae653dd /llvm/lib/MC/MCMachOStreamer.cpp
parentf5199f68f2e636b5bc2a9f976fd19cc89aad10ab (diff)
downloadbcm5719-llvm-9784cef38dd71ae37ccc419d7e1e10bafe59e9df.tar.gz
bcm5719-llvm-9784cef38dd71ae37ccc419d7e1e10bafe59e9df.zip
Explictly pass MCSubtargetInfo to MCCodeEmitter::EncodeInstruction()
llvm-svn: 200348
Diffstat (limited to 'llvm/lib/MC/MCMachOStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCMachOStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCMachOStreamer.cpp b/llvm/lib/MC/MCMachOStreamer.cpp
index f2fa37c0568..4aa7648c807 100644
--- a/llvm/lib/MC/MCMachOStreamer.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud