45a46,47
> class UnifiedFreeList;
>
63c65
< IntReg *intRegFile;
---
> std::vector<IntReg> intRegFile;
66c68
< PhysFloatReg *floatRegFile;
---
> std::vector<PhysFloatReg> floatRegFile;
74a77,82
> *
> * Note that this internal organizational detail on how physical
> * register file indices are ordered should *NOT* be exposed
> * outside of this class. Other classes can use the is*PhysReg()
> * methods to map from a physical register index to a class
> * without knowing the internal structure of the index map.
92c100
< ~PhysRegFile();
---
> ~PhysRegFile() {}
93a102,104
> /** Initialize the free list */
> void initFreeList(UnifiedFreeList *freeList);
>
206,226d216
< inline
< PhysRegFile::PhysRegFile(unsigned _numPhysicalIntRegs,
< unsigned _numPhysicalFloatRegs)
< : baseFloatRegIndex(_numPhysicalIntRegs),
< totalNumRegs(_numPhysicalIntRegs + _numPhysicalFloatRegs)
< {
< intRegFile = new IntReg[_numPhysicalIntRegs];
< floatRegFile = new PhysFloatReg[_numPhysicalFloatRegs];
<
< memset(intRegFile, 0, sizeof(IntReg) * _numPhysicalIntRegs);
< memset(floatRegFile, 0, sizeof(PhysFloatReg) * _numPhysicalFloatRegs);
< }
<
<
< inline
< PhysRegFile::~PhysRegFile()
< {
< delete intRegFile;
< delete floatRegFile;
< }
<