aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/binary/binary_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-09-27 14:39:27 -0700
committerKeith Randall <khr@golang.org>2016-09-27 23:54:01 +0000
commit98938189a16a764007bce7fcd4bfeb2386043208 (patch)
tree6d4119b0f71b4ab1084e45c01bb7478e166de530 /src/encoding/binary/binary_test.go
parentba94dd34385af3352660fb4bfa2a2d97fb937088 (diff)
downloadgo-98938189a16a764007bce7fcd4bfeb2386043208.tar.xz
cmd/compile: remove duplicate nilchecks
Mark nil check operations as faulting if their arg is zero. This lets the late nilcheck pass remove duplicates. Fixes #17242. Change-Id: I4c9938d8a5a1e43edd85b4a66f0b34004860bcd9 Reviewed-on: https://go-review.googlesource.com/29952 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/encoding/binary/binary_test.go')
0 files changed, 0 insertions, 0 deletions