summaryrefslogtreecommitdiff
path: root/src/arch/sparc/intregfile.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc/intregfile.hh')
-rw-r--r--src/arch/sparc/intregfile.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/intregfile.hh b/src/arch/sparc/intregfile.hh
index 59f767e8e..d66d0fcb7 100644
--- a/src/arch/sparc/intregfile.hh
+++ b/src/arch/sparc/intregfile.hh
@@ -67,7 +67,7 @@ namespace SparcISA
(unsigned int)(-1) :
(1 << FrameOffsetBits) - 1;
- IntReg regGlobals[MaxGL][RegsPerFrame];
+ IntReg regGlobals[MaxGL+1][RegsPerFrame];
IntReg regSegments[2 * NWindows][RegsPerFrame];
IntReg microRegs[NumMicroIntRegs];