SPARC: Get rid of the setGlobals function.
This commit is contained in:
parent
f41ce6b5e9
commit
9d5b6e377f
2 changed files with 0 additions and 16 deletions
|
@ -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);
|
||||
|
|
|
@ -100,9 +100,6 @@ namespace SparcISA
|
|||
void serialize(std::ostream &os);
|
||||
|
||||
void unserialize(Checkpoint *cp, const std::string §ion);
|
||||
|
||||
protected:
|
||||
void setGlobals(int gl);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue