Fixed a glitch in the disassembly output.

--HG--
extra : convert_revision : 833aa358b12ac987e0ab467708425c17e5a8fdb7
This commit is contained in:
Gabe Black 2006-07-20 21:01:57 -04:00
parent 419acd31cb
commit 8bbe925192

View file

@ -85,7 +85,7 @@ output header {{
std::string generateDisassembly(Addr pc,
const SymbolTable *symtab) const;
void printReg(std::ostream &os, RegIndex reg) const;
void printReg(std::ostream &os, int reg) const;
void printSrcReg(std::ostream &os, int reg) const;
void printDestReg(std::ostream &os, int reg) const;
@ -183,7 +183,7 @@ output decoder {{
}
void
SparcStaticInst::printReg(std::ostream &os, RegIndex reg) const
SparcStaticInst::printReg(std::ostream &os, int reg) const
{
const int MaxGlobal = 8;
const int MaxOutput = 16;