summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/AsmPrinter
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-13 20:19:22 +0000
committerChris Lattner <sabre@nondot.org>2009-09-13 20:19:22 +0000
commitd95148f073c31924f275a34296da52a7cdefad91 (patch)
treee19a8daa8f3cfc188dfc7b23c24ebd245b136e8c /lib/Target/MSP430/AsmPrinter
parentc510f4cb6ef524800ff010ddb0551384bd38b1c1 (diff)
downloadllvm-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/MSP430/AsmPrinter')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index c82f96d1dd..1800e00686 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -58,7 +58,7 @@ namespace {
const char* Modifier = 0);
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);
void printMachineInstruction(const MachineInstr * MI);
bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,