Fixed an off-by-one error.

--HG--
extra : convert_revision : 498fef18cf339cabc2c00e4758bc8a0da857daca
This commit is contained in:
Gabe Black 2007-03-08 00:55:16 -05:00
parent 46051c5f65
commit c40d95e4c4

View file

@ -82,7 +82,7 @@ namespace SparcISA
IntReg * regView[NumFrames]; IntReg * regView[NumFrames];
static const int RegGlobalOffset = 0; static const int RegGlobalOffset = 0;
static const int FrameOffset = MaxGL * RegsPerFrame; static const int FrameOffset = (MaxGL + 1) * RegsPerFrame;
int offset[NumFrames]; int offset[NumFrames];
public: public: