diff options
| author | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:12:42 +0000 |
|---|---|---|
| committer | David Woodhouse <dwmw2@infradead.org> | 2014-01-28 23:12:42 +0000 |
| commit | e6c13e4abd944f7d1ae85816063aca468a3bfcb8 (patch) | |
| tree | 59f0fa1057f5c09b490f4e408b4f8d181ef16647 /llvm/lib/Target/SystemZ | |
| parent | 1fd6dd3616c039881c3bd75c8e002a297d40794e (diff) | |
| download | bcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.tar.gz bcm5719-llvm-e6c13e4abd944f7d1ae85816063aca468a3bfcb8.zip | |
Change MCStreamer EmitInstruction interface to take subtarget info
llvm-svn: 200345
Diffstat (limited to 'llvm/lib/Target/SystemZ')
| -rw-r--r-- | llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp b/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp index 763f40c7ff4..e78b1a2ac7f 100644 --- a/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp +++ b/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp @@ -715,7 +715,7 @@ MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, default: break; case Match_Success: Inst.setLoc(IDLoc); - Out.EmitInstruction(Inst); + Out.EmitInstruction(Inst, STI); return false; case Match_MissingFeature: { diff --git a/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp b/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp index 0fe2d1fc639..aced19ea0cc 100644 --- a/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp +++ b/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp @@ -164,7 +164,7 @@ void SystemZAsmPrinter::EmitInstruction(const MachineInstr *MI) { Lower.lower(MI, LoweredMI); break; } - OutStreamer.EmitInstruction(LoweredMI); + EmitToStreamer(OutStreamer, LoweredMI); } // Convert a SystemZ-specific constant pool modifier into the associated |

