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/PIC16/AsmPrinter | |
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/PIC16/AsmPrinter')
-rw-r--r-- | lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h index e671feb863..2dd4600b76 100644 --- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h +++ b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h @@ -45,7 +45,7 @@ namespace llvm { void printOperand(const MachineInstr *MI, int opNum); void printCCOperand(const MachineInstr *MI, int opNum); void printInstruction(const MachineInstr *MI); // definition autogenerated. - const char *getRegisterName(unsigned RegNo) const; + static const char *getRegisterName(unsigned RegNo); bool printMachineInstruction(const MachineInstr *MI); void EmitFunctionDecls (Module &M); |