diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-13 20:19:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-13 20:19:22 +0000 |
commit | d95148f073c31924f275a34296da52a7cdefad91 (patch) | |
tree | e19a8daa8f3cfc188dfc7b23c24ebd245b136e8c /lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp | |
parent | c510f4cb6ef524800ff010ddb0551384bd38b1c1 (diff) | |
download | llvm-d95148f073c31924f275a34296da52a7cdefad91.tar.gz llvm-d95148f073c31924f275a34296da52a7cdefad91.tar.bz2 llvm-d95148f073c31924f275a34296da52a7cdefad91.tar.xz |
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
Diffstat (limited to 'lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp')
-rw-r--r-- | lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp index 15e7fb02b2..62193234d1 100644 --- a/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp +++ b/lib/Target/Sparc/AsmPrinter/SparcAsmPrinter.cpp @@ -68,7 +68,7 @@ namespace { void printCCOperand(const MachineInstr *MI, int opNum); void printInstruction(const MachineInstr *MI); // autogenerated. - const char *getRegisterName(unsigned RegNo) const; + static const char *getRegisterName(unsigned RegNo); bool runOnMachineFunction(MachineFunction &F); bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo, |