mirror of
https://github.com/golang/go
synced 2024-11-24 18:10:02 -07:00
5g: correct size of reg array.
Found by gcc 4.5.2 -Werror build reported on IRC by niemeyer. R=ken2, rsc, r2 CC=golang-dev https://golang.org/cl/4438042
This commit is contained in:
parent
4787e70b7b
commit
4c137b6162
@ -52,7 +52,7 @@ struct Prog
|
||||
|
||||
EXTERN Biobuf* bout;
|
||||
EXTERN int32 dynloc;
|
||||
EXTERN uchar reg[REGALLOC_FMAX];
|
||||
EXTERN uchar reg[REGALLOC_FMAX+1];
|
||||
EXTERN int32 pcloc; // instruction counter
|
||||
EXTERN Strlit emptystring;
|
||||
extern char* anames[];
|
||||
|
Loading…
Reference in New Issue
Block a user