the tblgen produced 'getRegisterName' method does not access
the object, make it static instead of const.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81711 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
index 64843c9..452dd12 100644
--- a/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
+++ b/lib/Target/SystemZ/AsmPrinter/SystemZAsmPrinter.cpp
@@ -67,7 +67,7 @@
     }
 
     void printInstruction(const MachineInstr *MI);  // autogenerated.
-    const char *getRegisterName(unsigned RegNo) const;
+    static const char *getRegisterName(unsigned RegNo);
 
     void printMachineInstruction(const MachineInstr * MI);