summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/intregfile.cc8
-rw-r--r--src/arch/sparc/intregfile.hh2
2 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc
index 26637ddad..c111172a9 100644
--- a/src/arch/sparc/intregfile.cc
+++ b/src/arch/sparc/intregfile.cc
@@ -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;
diff --git a/src/arch/sparc/intregfile.hh b/src/arch/sparc/intregfile.hh
index ce9bcadb6..9a086f08a 100644
--- a/src/arch/sparc/intregfile.hh
+++ b/src/arch/sparc/intregfile.hh
@@ -87,8 +87,6 @@ namespace SparcISA
public:
- int flattenIndex(int reg);
-
void clear();
IntRegFile();