1
0
mirror of https://github.com/golang/go synced 2024-11-20 07:04:40 -07:00

cmd/5g: fix fixedtests/issue4396b.go test failure on arm5

Add missing file that should have been included in CL 6854063 / 5eac1a2d6fc3

R=remyoudompheng, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6891049
This commit is contained in:
Dave Cheney 2012-12-06 16:52:16 +11:00
parent 9d2b0e86c8
commit e4d2cd9d0a

View File

@ -1193,7 +1193,7 @@ checkoffset(Addr *a, int canemitcode)
// reference with large offset. instead, emit explicit // reference with large offset. instead, emit explicit
// test of 0(reg). // test of 0(reg).
regalloc(&n1, types[TUINTPTR], N); regalloc(&n1, types[TUINTPTR], N);
p = gins(AMOVW, N, &n1); p = gins(AMOVB, N, &n1);
p->from = *a; p->from = *a;
p->from.offset = 0; p->from.offset = 0;
regfree(&n1); regfree(&n1);