diff options
| author | Cherry Zhang <cherryyz@google.com> | 2018-08-28 14:52:30 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2018-08-30 02:19:37 +0000 |
| commit | 54f9c0416a588963cb5a1c10ffb6a88f3956858c (patch) | |
| tree | 32aa24296d9e250924ad08b6bdb134d816126114 /src/syscall/syscall_linux_test.go | |
| parent | f9a4ae018d99c5afb0e4f128545ff26e01d7b498 (diff) | |
| download | go-54f9c0416a588963cb5a1c10ffb6a88f3956858c.tar.xz | |
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>
Diffstat (limited to 'src/syscall/syscall_linux_test.go')
0 files changed, 0 insertions, 0 deletions
