diff options
| author | Jim Grosbach <grosbach@apple.com> | 2012-03-05 19:33:20 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2012-03-05 19:33:20 +0000 |
| commit | fd93a595571dc0d9d61e6c6a112b649163c57440 (patch) | |
| tree | 2bd5a55c85ff3b2a6fd473a375c9234f9f9d5cf9 /llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h | |
| parent | 7cf6db7e3c13bdc3967611651518a8ba6989bd73 (diff) | |
| download | bcm5719-llvm-fd93a595571dc0d9d61e6c6a112b649163c57440.tar.gz bcm5719-llvm-fd93a595571dc0d9d61e6c6a112b649163c57440.zip | |
Make MCRegisterInfo available to the the MCInstPrinter.
Used to allow context sensitive printing of super-register or sub-register
references.
llvm-svn: 152043
Diffstat (limited to 'llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h')
| -rw-r--r-- | llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h index c943c9c2a32..3c8b6cf3051 100644 --- a/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h +++ b/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h @@ -23,7 +23,8 @@ class MCOperand; class ARMInstPrinter : public MCInstPrinter { public: - ARMInstPrinter(const MCAsmInfo &MAI, const MCSubtargetInfo &STI); + ARMInstPrinter(const MCAsmInfo &MAI, const MCRegisterInfo &MRI, + const MCSubtargetInfo &STI); virtual void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot); virtual StringRef getOpcodeName(unsigned Opcode) const; |

