diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-04-04 05:04:31 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-04-04 05:04:31 +0000 |
| commit | 701291627546fd45a83cfdce2a3e3aedde3f4726 (patch) | |
| tree | d1178bfa5d5f8035c82a2ff408848fcc01906f05 /llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | |
| parent | 76c564b1bb732a92bbb4a9685fe3dc6a2d65fbdd (diff) | |
| download | bcm5719-llvm-701291627546fd45a83cfdce2a3e3aedde3f4726.tar.gz bcm5719-llvm-701291627546fd45a83cfdce2a3e3aedde3f4726.zip | |
fix an ugly wart in the MCInstPrinter api where the
raw_ostream to print an instruction to had to be specified
at MCInstPrinter construction time instead of being able
to pick at each call to printInstruction.
llvm-svn: 100307
Diffstat (limited to 'llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp index 486ab00d664..feb2db8bb8e 100644 --- a/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp +++ b/llvm/lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp @@ -1385,10 +1385,9 @@ void ARMAsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI) { static MCInstPrinter *createARMMCInstPrinter(const Target &T, unsigned SyntaxVariant, - const MCAsmInfo &MAI, - raw_ostream &O) { + const MCAsmInfo &MAI) { if (SyntaxVariant == 0) - return new ARMInstPrinter(O, MAI, false); + return new ARMInstPrinter(MAI, false); return 0; } |

