summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/WinCOFFStreamer.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/WinCOFFStreamer.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/WinCOFFStreamer.cpp')
-rw-r--r--llvm/lib/MC/WinCOFFStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/WinCOFFStreamer.cpp b/llvm/lib/MC/WinCOFFStreamer.cpp
index 64041f11822..0cd4aa21a20 100644
--- a/llvm/lib/MC/WinCOFFStreamer.cpp
+++ b/llvm/lib/MC/WinCOFFStreamer.cpp
@@ -84,7 +84,7 @@ private:
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