go/src/cmd
Russ Cox 6826287c6b [dev.regabi] cmd/compile: replace evconst with non-mutating version
evconst is one of the largest sources of Op rewrites,
which prevent separating different kinds of nodes
(in this case, arithmetic nodes and OLITERAL nodes).

The change in swt.go is necessary because otherwise
the syntax graph ends up containing that OLEN expression
multiple times, which violates the invariant that it's a tree
except for ONAME, OLITERAL, and OTYPE nodes.
(Before, the OLEN was overwritten by an OLITERAL, so the
invariant still held, but now that we don't overwrite it,
we need a different copy for each instance.)

Passes toolstash -cmp.

Change-Id: Ia004774ab6852fb384805d0f9f9f234b40842811
Reviewed-on: https://go-review.googlesource.com/c/go/+/272869
Trust: Russ Cox <rsc@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2020-11-24 20:58:42 +00:00
..
addr2line cmd/addr2line: don't assume that GOROOT_FINAL is clean 2020-09-17 19:25:09 +00:00
api io/fs: move FileInfo, FileMode, PathError, ErrInvalid, ... from os to io/fs 2020-10-20 02:32:41 +00:00
asm cmd/internal/obj/s390x: fix SYNC instruction encoding 2020-11-10 15:48:04 +00:00
buildid cmd/buildid: move and reuse duplicated HashToString code to cmd/internal/buildid/buildid 2020-10-28 21:52:53 +00:00
cgo cmd/cgo, cmd/internal/pkgpath: support gofrontend mangler v3 2020-11-20 21:45:57 +00:00
compile [dev.regabi] cmd/compile: replace evconst with non-mutating version 2020-11-24 20:58:42 +00:00
cover all: replace Replace(..., -1) with ReplaceAll(...) 2020-08-17 04:07:23 +00:00
dist [dev.regabi] strconv: add to bootstrap packages 2020-11-24 19:42:42 +00:00
doc all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
fix all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
go cmd/go/internal/modload: remove the Reqs function 2020-11-21 03:29:37 +00:00
gofmt all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
internal cmd/cgo, cmd/internal/pkgpath: support gofrontend mangler v3 2020-11-20 21:45:57 +00:00
link cmd/link: recompute heapPos after copyHeap 2020-11-18 14:45:14 +00:00
nm cmd/dist,cmd/go,runtime: add support for cgo on linux/riscv64 2020-11-03 12:59:51 +00:00
objdump cmd/objdump: skip TestDisasmExtld on AIX 2020-10-16 20:51:49 +00:00
pack all: update references to symbols moved from os to io/fs 2020-10-20 02:32:42 +00:00
pprof all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
test2json cmd/test2json: do not emit a final Action if the result is not known 2020-08-17 19:43:21 +00:00
trace all: update references to symbols moved from io/ioutil to io 2020-10-20 18:41:18 +00:00
vendor all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00
vet cmd/vet: bring in pass to catch invalid uses of testing.T in goroutines 2020-11-01 01:58:43 +00:00
README.vendor
go.mod all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00
go.sum all: update vendored dependencies for Go 1.16 release 2020-11-11 06:26:05 +00:00

README.vendor

See src/README.vendor for information on loading vendored packages
and updating the vendor directory.