go/src
Cherry Zhang 54f9c0416a cmd/compile: count nil check as use in dead auto elim
Nil check is special in that it has no use but we must keep it.
Count it as a use of the auto.

Fixes #27278.

Change-Id: I857c3d0db2ebdca1bc342b4993c0dac5c01e067f
Reviewed-on: https://go-review.googlesource.com/131955
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
2018-08-30 02:19:37 +00:00
..
archive
bufio
builtin
bytes bytes: note that NewBuffer's initial size can change 2018-08-29 22:36:49 +00:00
cmd cmd/compile: count nil check as use in dead auto elim 2018-08-30 02:19:37 +00:00
compress
container
context context: don't talk about tools that don't exist 2018-08-22 22:11:24 +00:00
crypto all: fix typos detected by github.com/client9/misspell 2018-08-23 15:54:07 +00:00
database/sql
debug
encoding encoding/json: fix UnmarshalTypeError without field and struct values 2018-08-28 16:00:33 +00:00
errors
expvar
flag
fmt fmt: fix incorrect format of whole-number floats when using %#v 2018-08-28 20:15:15 +00:00
go runtime: replace sys.CacheLineSize by corresponding internal/cpu const and vars 2018-08-24 18:28:25 +00:00
hash
html html/template: use named consts instead of their values 2018-08-22 22:48:10 +00:00
image
index/suffixarray
internal internal/syscall/unix: remove unnecessary empty.s 2018-08-28 14:05:21 +00:00
io
log
math math: add Round and RoundToEven examples 2018-08-28 05:22:41 +00:00
mime
net syscall: implement Unix Socket for Windows 2018-08-28 09:26:45 +00:00
os os/exec: pass ExitCode tests on Plan 9 2018-08-28 14:10:31 +00:00
path path/filepath: fix Join with Windows drive letter 2018-08-26 04:23:19 +00:00
plugin
reflect reflect: use a bigger object when we need a finalizer to run 2018-08-24 22:17:54 +00:00
regexp
runtime runtime/pprof: compute memory profile block size using sampled values 2018-08-29 22:57:14 +00:00
sort
strconv
strings
sync
syscall syscall: skip an unsupported test case on android 2018-08-29 03:58:42 +00:00
testing
text text/template: fix newline counting in raw strings 2018-08-29 20:36:09 +00:00
time time: allow +00 as numeric timezone name and GMT offset 2018-08-24 17:31:42 +00:00
unicode
unsafe
vendor/golang_org/x
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat src/make.bat: add missing go.exe extension 2018-08-25 22:42:46 +00:00
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat cmd/dist: fix compilation on windows 2018-08-25 22:39:17 +00:00
run.bash
run.bat
run.rc