go/src/cmd
Matthew Dempsky 2197321db1 cmd/compile: split n.Noescape() into separate uses
n.Noescape() was overloaded for two uses: (1) to indicate a function
was annotated with //go:noescape, and (2) to indicate that certain
temporary allocations don't outlive the current statement.

The first use case is redundant with n.Func.Pragma&Noescape!=0, which
is the convention we use for checking other function-level pragmas.

The second use case is better served by renaming "Noescape" to
"Transient".

Passes toolstash-check.

Change-Id: I0f09d2d5767513894b7bf49da9cdabd04aa4a05e
Reviewed-on: https://go-review.googlesource.com/c/go/+/199822
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
2019-10-08 23:53:55 +00:00
..
addr2line internal/testenv: remove SetModVendor 2019-03-08 23:40:24 +00:00
api cmd/api: read std package info once, not per goos-goarch-cgo 2019-05-21 18:14:40 +00:00
asm cmd/internal/obj/arm64: add error checking for system registers. 2019-10-08 16:20:53 +00:00
buildid
cgo cmd/cgo: build unique C type cache keys from parent names 2019-10-05 00:16:04 +00:00
compile cmd/compile: split n.Noescape() into separate uses 2019-10-08 23:53:55 +00:00
cover cmd/cover: skip go list when profile is empty 2019-08-30 17:07:53 +00:00
dist cmd/dist: fix bootstrap failure when GOHOSTARCH is set 2019-09-26 20:45:09 +00:00
doc cmd/doc: add option to output a clean one-line symbol representation 2019-09-19 01:55:12 +00:00
fix cmd/fix: mark tests as parallel 2019-05-13 20:03:20 +00:00
go cmd/go: respect -mod flag in fmt 2019-10-08 19:19:46 +00:00
gofmt cmd/gofmt: fix computation of function header size 2019-09-24 16:36:56 +00:00
internal cmd/internal/obj/arm64: add error checking for system registers. 2019-10-08 16:20:53 +00:00
link cmd/link: produce valid binaries with large data section on wasm 2019-10-07 18:09:29 +00:00
nm cmd/internal/obj: write package path at compile time if possible 2019-05-06 18:17:03 +00:00
objdump cmd/objdump: ensure that test executable files are distinct 2019-05-13 20:36:11 +00:00
pack all: shorten some tests 2019-05-22 12:54:00 +00:00
pprof all: use "reports whether" consistently instead of "returns whether" 2018-12-02 15:12:26 +00:00
test2json
trace all: simplify code using "gofmt -s -w" 2019-05-06 22:19:22 +00:00
vendor cmd: update x/tools version to enforce only one %w 2019-09-27 21:17:15 +00:00
vet cmd/vet: include the errors.As check from upstream x/tools 2019-06-11 17:54:27 +00:00
README.vendor all: document vendoring in the standard library 2019-05-09 17:11:16 +00:00
go.mod cmd: update x/tools version to enforce only one %w 2019-09-27 21:17:15 +00:00
go.sum cmd: update x/tools version to enforce only one %w 2019-09-27 21:17:15 +00:00

README.vendor

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