Fixed a glitch in the disassembly output.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 21 Jul 2006 01:01:57 +0000 (21:01 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 21 Jul 2006 01:01:57 +0000 (21:01 -0400)
--HG--
extra : convert_revision : 833aa358b12ac987e0ab467708425c17e5a8fdb7

src/arch/sparc/isa/base.isa

index f9c750901d8405710045f15394211733a91f1430..b518265aa30fac95c8fd9995cab40bf7e7dd70cd 100644 (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;