]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: start using reflect.Value.IsZero
authorDaniel Martí <mvdan@mvdan.cc>
Sat, 25 Mar 2023 11:30:26 +0000 (11:30 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 27 Mar 2023 20:30:03 +0000 (20:30 +0000)
commitfc99c4b3f33226a429743a263934a237be3f71c8
tree9df12ffddc26879527e7620de77838e5ff47a589
parent524f820b7fc6b191820c1e3813ca60677c91052a
cmd/compile: start using reflect.Value.IsZero

We now require Go 1.17.13 to bootstrap via make.bash,
and since reflect.Value.IsZero was added in Go 1.13,
we can now use it directly to save a bit of copy pasting.

Change-Id: I77eef782cbbf86c72a4505c8b4866c9658914a24
Reviewed-on: https://go-review.googlesource.com/c/go/+/479395
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
src/cmd/compile/internal/ir/dump.go
src/cmd/compile/internal/ir/fmt.go