summaryrefslogtreecommitdiff
path: root/src/arch/sparc/intregfile.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-02-25 10:21:46 -0800
committerGabe Black <gblack@eecs.umich.edu>2009-02-25 10:21:46 -0800
commit9d5b6e377ffca79e0dabe3fb63215d2f51a4eb7b (patch)
treeae22c0aa64401542906822f1832d399abb462ee4 /src/arch/sparc/intregfile.cc
parentf41ce6b5e9d606826c9519cf355f992f53bb4dbf (diff)
downloadgem5-9d5b6e377ffca79e0dabe3fb63215d2f51a4eb7b.tar.xz
SPARC: Get rid of the setGlobals function.
Diffstat (limited to 'src/arch/sparc/intregfile.cc')
-rw-r--r--src/arch/sparc/intregfile.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc
index 28299c9b3..26637ddad 100644
--- a/src/arch/sparc/intregfile.cc
+++ b/src/arch/sparc/intregfile.cc
@@ -118,19 +118,6 @@ void IntRegFile::setReg(int intReg, const IntReg &val)
} */
}
-void IntRegFile::setGlobals(int gl)
-{
- DPRINTF(RegisterWindows, "Now using %d globals\n", gl);
-
- regView[Globals] = regGlobals[gl];
- offset[Globals] = RegGlobalOffset + gl * RegsPerFrame;
-
- if (regView[Globals] == regView[Inputs] ||
- regView[Globals] == regView[Locals] ||
- regView[Globals] == regView[Outputs] )
- panic("Two register arrays set to the same thing!\n");
-}
-
void IntRegFile::serialize(std::ostream &os)
{
SERIALIZE_ARRAY(regs, NumIntRegs);