@@ -33,7 +33,8 @@ class AArch64InstPrinter : public MCInstPrinter {
3333 void printRegName (raw_ostream &OS, MCRegister Reg, unsigned AltIdx);
3434
3535 // Autogenerated by tblgen.
36- std::pair<const char *, uint64_t > getMnemonic (const MCInst *MI) override ;
36+ std::pair<const char *, uint64_t >
37+ getMnemonic (const MCInst &MI) const override ;
3738 virtual void printInstruction (const MCInst *MI, uint64_t Address,
3839 const MCSubtargetInfo &STI, raw_ostream &O);
3940 virtual bool printAliasInstr (const MCInst *MI, uint64_t Address,
@@ -248,7 +249,8 @@ class AArch64AppleInstPrinter : public AArch64InstPrinter {
248249 void printInst (const MCInst *MI, uint64_t Address, StringRef Annot,
249250 const MCSubtargetInfo &STI, raw_ostream &O) override ;
250251
251- std::pair<const char *, uint64_t > getMnemonic (const MCInst *MI) override ;
252+ std::pair<const char *, uint64_t >
253+ getMnemonic (const MCInst &MI) const override ;
252254 void printInstruction (const MCInst *MI, uint64_t Address,
253255 const MCSubtargetInfo &STI, raw_ostream &O) override ;
254256 bool printAliasInstr (const MCInst *MI, uint64_t Address,
0 commit comments