1
0
mirror of https://github.com/golang/go synced 2024-11-17 10:24:48 -07:00
go/src
Josh Bleecher Snyder 2693b42466 cmd/compile: don't initialize blank struct fields
We already skipped blank field initialization in non-global contexts.
This change makes the global context treatment match.

Fixes #31546

Change-Id: I40acce49b0a9deb351ae0da098f4c114e425ec63
Reviewed-on: https://go-review.googlesource.com/c/go/+/173723
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-04-25 01:30:56 +00:00
..
archive
bufio
builtin
bytes bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
cmd cmd/compile: don't initialize blank struct fields 2019-04-25 01:30:56 +00:00
compress
container
context all: s/cancelation/cancellation/ 2019-04-16 20:27:15 +00:00
crypto crypto/tls: fix a minor MAC vs padding leak 2019-04-16 23:10:02 +00:00
database/sql all: s/cancelation/cancellation/ 2019-04-16 20:27:15 +00:00
debug
encoding encoding/json: document HTML escaping in Compact 2019-04-23 14:22:20 +00:00
errors
expvar
flag
fmt
go go/internal/gccgoimporter: revise previous anonymous field fix. 2019-04-24 19:36:29 +00:00
hash
html
image
index/suffixarray
internal bytes, internal/bytealg: simplify Equal 2019-04-24 00:56:36 +00:00
io
log
math math: consolidate assembly stub implementations 2019-04-23 14:50:16 +00:00
mime
net net/http: export Header.Clone, reduce its allocations, use it everywhere 2019-04-24 18:43:11 +00:00
os os: disable the use of netpoll on directories as well on *BSDs 2019-04-19 19:24:47 +00:00
path
plugin
reflect
regexp
runtime runtime: randomize package initialization order in race mode 2019-04-23 17:58:12 +00:00
sort
strconv strconv: pre-allocate in appendQuotedWith 2019-04-18 04:30:46 +00:00
strings
sync sync: update comment 2019-04-19 16:15:36 +00:00
syscall all: add start of netbsd/arm64 support 2019-04-20 15:02:01 +00:00
testdata
testing testing: fix minor bug with mutex profile error message 2019-04-24 19:48:39 +00:00
text
time
unicode unicode/utf8: remove some bounds checks from DecodeRune 2019-04-25 00:01:23 +00:00
unsafe
vendor {,cmd/}vendor: rerun 'go mod vendor' to prune ignored files 2019-04-19 15:36:19 +00:00
all.bash
all.bat
all.rc
bootstrap.bash bootstrap.bash: make source writable before cleaning 2019-04-19 17:04:30 +00:00
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
go.mod
go.sum
iostest.bash
make.bash cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
make.bat cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
Make.dist
make.rc cmd/go: add env -w and env -u to set and unset default env vars 2019-04-23 00:58:08 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc