Fixed an off-by-one error.
--HG-- extra : convert_revision : 498fef18cf339cabc2c00e4758bc8a0da857daca
This commit is contained in:
parent
46051c5f65
commit
c40d95e4c4
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue