Rename this function.

--HG--
extra : convert_revision : 57ea1e1d3b75e35abb3310d392ec70086fff699a
This commit is contained in:
Gabe Black 2006-11-24 14:01:18 -05:00
parent 7708217167
commit c6ddab95df
2 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ enum RegMask
PSTATE_MASK = (((1 << 4) - 1) << 1) | (((1 << 4) - 1) << 6) | (1 << 12) PSTATE_MASK = (((1 << 4) - 1) << 1) | (((1 << 4) - 1) << 6) | (1 << 12)
}; };
void MiscRegFile::reset() void MiscRegFile::clear()
{ {
y = 0; y = 0;
ccr = 0; ccr = 0;

View file

@ -176,11 +176,11 @@ namespace SparcISA
#endif #endif
public: public:
void reset(); void clear();
MiscRegFile() MiscRegFile()
{ {
reset(); clear();
} }
MiscReg readReg(int miscReg); MiscReg readReg(int miscReg);