summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-07-20 21:01:57 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-07-20 21:01:57 -0400
commit8bbe925192d786a07bb5f4fac90e11f4983f92b7 (patch)
tree20c95ec0de67b243048118f2e8f642fb10c156d7 /src/arch
parent419acd31cb6d1d177ff086dd140cd25521f6100e (diff)
downloadgem5-8bbe925192d786a07bb5f4fac90e11f4983f92b7.tar.xz
Fixed a glitch in the disassembly output.
--HG-- extra : convert_revision : 833aa358b12ac987e0ab467708425c17e5a8fdb7
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/sparc/isa/base.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/isa/base.isa b/src/arch/sparc/isa/base.isa
index f9c750901..b518265aa 100644
--- a/src/arch/sparc/isa/base.isa
+++ b/src/arch/sparc/isa/base.isa
@@ -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;