SPARC: Get rid of flattenIndex in the int register file.

This commit is contained in:
Gabe Black 2009-02-25 10:21:59 -08:00
parent ce2e50a64c
commit c1c61d52a0
2 changed files with 0 additions and 10 deletions

View file

@ -51,14 +51,6 @@ string SparcISA::getIntRegName(RegIndex index)
return intRegName[index];
}
int IntRegFile::flattenIndex(int reg)
{
int flatIndex = offset[reg >> FrameOffsetBits]
| (reg & FrameOffsetMask);
DPRINTF(RegisterWindows, "Flattened index %d into %d.\n", reg, flatIndex);
return flatIndex;
}
void IntRegFile::clear()
{
int x;

View file

@ -87,8 +87,6 @@ namespace SparcISA
public:
int flattenIndex(int reg);
void clear();
IntRegFile();