88c88,93
< void printReg(std::ostream &os, int reg) const;
---
> void printReg(std::ostream &os, RegIndex reg) const;
> void printSrcReg(std::ostream &os, int reg) const;
> void printDestReg(std::ostream &os, int reg) const;
>
> void printRegArray(std::ostream &os,
> const RegIndex indexArray[], int num) const;
152a158,170
> void SparcStaticInst::printRegArray(std::ostream &os,
> const RegIndex indexArray[], int num) const
> {
> if(num <= 0)
> return;
> printReg(os, indexArray[0]);
> for(int x = 1; x < num; x++)
> {
> os << ", ";
> printReg(os, indexArray[x]);
> }
> }
>
154c172
< SparcStaticInst::printReg(std::ostream &os, int reg) const
---
> SparcStaticInst::printSrcReg(std::ostream &os, int reg) const
155a174,187
> if(_numSrcRegs > reg)
> printReg(os, _srcRegIdx[reg]);
> }
>
> void
> SparcStaticInst::printDestReg(std::ostream &os, int reg) const
> {
> if(_numDestRegs > reg)
> printReg(os, _destRegIdx[reg]);
> }
>
> void
> SparcStaticInst::printReg(std::ostream &os, RegIndex reg) const
> {