]> Cypherpunks repositories - gostls13.git/commit
cmd/5g, cmd/8g: registerize small structs and arrays
authorRuss Cox <rsc@golang.org>
Mon, 25 Aug 2014 01:16:24 +0000 (21:16 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 25 Aug 2014 01:16:24 +0000 (21:16 -0400)
commit527ae57e6532f512dce984245c0c474372e7f62b
tree37255bfd070bcc081a92b5f7fcf1f8af92f2584e
parent75b72b1b27dd74ca9a1ebdba22f545233431a99f
cmd/5g, cmd/8g: registerize small structs and arrays

cmd/6g has been doing this for a long time.

Arrays are still problematic on 5g because the addressing
for t[0] where local var t has type [3]uintptr takes the address of t.
That's issue 8125.

Fixes #8123.

LGTM=josharian
R=josharian, dave
CC=golang-codereviews
https://golang.org/cl/102890046
src/cmd/5g/cgen.c
src/cmd/8g/cgen.c