summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCObjectStreamer.cpp
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:12:42 +0000
committerDavid Woodhouse <dwmw2@infradead.org>2014-01-28 23:12:42 +0000
commite6c13e4abd944f7d1ae85816063aca468a3bfcb8 (patch)
tree59f0fa1057f5c09b490f4e408b4f8d181ef16647 /llvm/lib/MC/MCObjectStreamer.cpp
parent1fd6dd3616c039881c3bd75c8e002a297d40794e (diff)
downloadbcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.tar.gz
bcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.zip
Change MCStreamer EmitInstruction interface to take subtarget info
llvm-svn: 200345
Diffstat (limited to 'llvm/lib/MC/MCObjectStreamer.cpp')
-rw-r--r--llvm/lib/MC/MCObjectStreamer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCObjectStreamer.cpp b/llvm/lib/MC/MCObjectStreamer.cpp
index 22f565f34e0..5aa1486b847 100644
--- a/llvm/lib/MC/MCObjectStreamer.cpp
+++ b/llvm/lib/MC/MCObjectStreamer.cpp
@@ -187,7 +187,7 @@ void MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
Symbol->setVariableValue(AddValueSymbols(Value));
}
-void MCObjectStreamer::EmitInstruction(const MCInst &Inst) {
+void MCObjectStreamer::EmitInstruction(const MCInst &Inst, const MCSubtargetInfo &STI) {
// Scan for values.
for (unsigned i = Inst.getNumOperands(); i--; )
if (Inst.getOperand(i).isExpr())
OpenPOWER on IntegriCloud