mirror of
https://github.com/golang/go
synced 2024-11-25 05:47:57 -07:00
arm: fix build by disabling list copying optimization for 5g.
R=rsc CC=golang-dev https://golang.org/cl/1697053
This commit is contained in:
parent
61fb9ccc8d
commit
47b6400556
@ -115,7 +115,9 @@ walkrange(Node *n)
|
||||
v2 = n->list->next->n;
|
||||
hv2 = N;
|
||||
|
||||
if(v2 == N && t->etype == TARRAY) {
|
||||
// TODO(kaib): re-enable this optimization on arm once we are on par with 6g/8g
|
||||
// see http://code.google.com/p/go/issues/detail?id=943
|
||||
if(v2 == N && t->etype == TARRAY && thechar != '5') {
|
||||
// will have just one reference to argument.
|
||||
// no need to make a potentially expensive copy.
|
||||
ha = a;
|
||||
|
@ -52,9 +52,9 @@ FAIL
|
||||
Hello World!
|
||||
|
||||
=========== ken/cplx0.go
|
||||
(+1.066132e-308+1.313301e-308i)
|
||||
(+1.066132e-308+1.313303e-308i)
|
||||
(+1.066132e-308+1.066132e-308i)
|
||||
(+1.066132e-308+1.313301e-308i)
|
||||
(+1.066132e-308+1.313303e-308i)
|
||||
(+1.066132e-308+1.066132e-308i)
|
||||
|
||||
=========== ken/cplx3.go
|
||||
|
Loading…
Reference in New Issue
Block a user