diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:46 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:21:46 -0800 |
commit | 9d5b6e377ffca79e0dabe3fb63215d2f51a4eb7b (patch) | |
tree | ae22c0aa64401542906822f1832d399abb462ee4 /src | |
parent | f41ce6b5e9d606826c9519cf355f992f53bb4dbf (diff) | |
download | gem5-9d5b6e377ffca79e0dabe3fb63215d2f51a4eb7b.tar.xz |
SPARC: Get rid of the setGlobals function.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/sparc/intregfile.cc | 13 | ||||
-rw-r--r-- | src/arch/sparc/intregfile.hh | 3 |
2 files changed, 0 insertions, 16 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); diff --git a/src/arch/sparc/intregfile.hh b/src/arch/sparc/intregfile.hh index 0d1fe413e..ce9bcadb6 100644 --- a/src/arch/sparc/intregfile.hh +++ b/src/arch/sparc/intregfile.hh @@ -100,9 +100,6 @@ namespace SparcISA void serialize(std::ostream &os); void unserialize(Checkpoint *cp, const std::string §ion); - - protected: - void setGlobals(int gl); }; } |