SPARC: Get rid of flattenIndex in the int register file.
This commit is contained in:
parent
ce2e50a64c
commit
c1c61d52a0
2 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||
|
|
|
@ -87,8 +87,6 @@ namespace SparcISA
|
|||
|
||||
public:
|
||||
|
||||
int flattenIndex(int reg);
|
||||
|
||||
void clear();
|
||||
|
||||
IntRegFile();
|
||||
|
|
Loading…
Reference in a new issue