summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 05:04:31 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 05:04:31 +0000
commit701291627546fd45a83cfdce2a3e3aedde3f4726 (patch)
treed1178bfa5d5f8035c82a2ff408848fcc01906f05 /llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
parent76c564b1bb732a92bbb4a9685fe3dc6a2d65fbdd (diff)
downloadbcm5719-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/ARMInstPrinter.h')
-rw-r--r--llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
index c2b32c1352e..dd006fc52e7 100644
--- a/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
+++ b/llvm/lib/Target/ARM/AsmPrinter/ARMInstPrinter.h
@@ -22,10 +22,10 @@ namespace llvm {
class ARMInstPrinter : public MCInstPrinter {
bool VerboseAsm;
public:
- ARMInstPrinter(raw_ostream &O, const MCAsmInfo &MAI, bool verboseAsm)
- : MCInstPrinter(O, MAI), VerboseAsm(verboseAsm) {}
+ ARMInstPrinter(const MCAsmInfo &MAI, bool verboseAsm)
+ : MCInstPrinter(MAI), VerboseAsm(verboseAsm) {}
- virtual void printInst(const MCInst *MI);
+ virtual void printInst(const MCInst *MI, raw_ostream &O);
// Autogenerated by tblgen.
void printInstruction(const MCInst *MI, raw_ostream &O);
OpenPOWER on IntegriCloud