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
This commit is contained in:
Chris Lattner
2009-09-13 20:19:22 +00:00
parent c510f4cb6e
commit d95148f073
14 changed files with 14 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ namespace {
return "Alpha Assembly Printer";
}
void printInstruction(const MachineInstr *MI);
const char *getRegisterName(unsigned RegNo) const;
static const char *getRegisterName(unsigned RegNo);
void printOp(const MachineOperand &MO, bool IsCallOp = false);
void printOperand(const MachineInstr *MI, int opNum);