1
0
mirror of https://github.com/golang/go synced 2024-10-05 05:11:25 -06:00
go/src
Matthew Dempsky c278f9302e cmd/compile: stop storing TFIELD types in Node.Type
Currently, the only use for this is on the Left side of OKEY nodes
within struct literals.  esc and fmt only care so they can recognize
that the ONAME nodes are actually field names, which need special
handling.

sinit additionally needs to know the field's offset within the struct,
which we can provide via Xoffset.

Passes toolstash/buildall.

Change-Id: I362d965e161f4d80fcd9c9bae0dfacc657dc0b29
Reviewed-on: https://go-review.googlesource.com/20676
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-14 21:12:29 +00:00
..
archive
bufio
builtin
bytes bytes: correct comment about usage of bytes.Buffer by Printf 2016-03-10 15:54:08 +00:00
cmd cmd/compile: stop storing TFIELD types in Node.Type 2016-03-14 21:12:29 +00:00
compress compress/flate: optimize huffman bit encoder 2016-03-11 17:40:52 +00:00
container
crypto crypto/tls: implement dynamic record sizing 2016-03-12 00:47:13 +00:00
database/sql
debug
encoding
errors
expvar
flag
fmt fmt: refactor pointer formatting and improve tests 2016-03-09 20:59:50 +00:00
go testing: implement 'Unordered Output' in Examples. 2016-03-09 04:34:41 +00:00
hash
html
image
index/suffixarray
internal
io
log
math math: improve sqrt for ppc64le,ppc64 2016-03-10 15:01:21 +00:00
mime
net net/http: delete unused type readClose 2016-03-12 22:13:32 +00:00
os os/user: fix formatting of error group lookup message 2016-03-14 00:45:25 +00:00
path
reflect reflect: use SelectDir instead of uintptr in runtimeSelect 2016-03-14 01:55:31 +00:00
regexp
runtime runtime: document the G states 2016-03-14 16:30:16 +00:00
sort
strconv
strings
sync
syscall syscall: add NO_LOCAL_POINTERS to syscall.exit in plan9_arm 2016-03-09 16:32:02 +00:00
testing testing: implement 'Unordered Output' in Examples. 2016-03-09 04:34:41 +00:00
text
time
unicode
unsafe
vendor
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc