diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:22:31 -0800 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-02-25 10:22:31 -0800 |
commit | 437b02884dedccc6f72f3e5d9c05d3a2dd6c6a2d (patch) | |
tree | 269dc7331610a9118bb884adf0c3fb39b40088a8 /src/arch/sparc/intregfile.cc | |
parent | 3b01535ec1ea6f51738675b3caf36e3f100ad128 (diff) | |
download | gem5-437b02884dedccc6f72f3e5d9c05d3a2dd6c6a2d.tar.xz |
ISA: Get rid of the get*RegName functions.
Diffstat (limited to 'src/arch/sparc/intregfile.cc')
-rw-r--r-- | src/arch/sparc/intregfile.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/arch/sparc/intregfile.cc b/src/arch/sparc/intregfile.cc index 49e41ed93..54c30d1cc 100644 --- a/src/arch/sparc/intregfile.cc +++ b/src/arch/sparc/intregfile.cc @@ -41,16 +41,6 @@ using namespace std; class Checkpoint; -string SparcISA::getIntRegName(RegIndex index) -{ - static std::string intRegName[NumIntArchRegs] = - {"g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", - "o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7", - "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", - "i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7"}; - return intRegName[index]; -} - void IntRegFile::clear() { memset(regs, 0, sizeof(IntReg) * NumIntRegs); |