go/src
Daniel Martí 60fee0153f cmd/compile: remove last manual node copies
When I added the Node.copy method, I converted most of the occurrences
but missed a few.

One of them, used only for gdata, was an unnecessary copy given that
gdata does not modify the node it is passed.

No allocation changes in compilebench.

Passes toolstash -cmp on std cmd.

Change-Id: I7fba5212377b75c6d6b3785e594a30568ff0732e
Reviewed-on: https://go-review.googlesource.com/104937
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
2018-04-10 15:25:31 +00:00
..
archive go/printer, gofmt: tuned table alignment for better results 2018-04-04 13:39:34 -07:00
bufio bufio: document ReadFrom/WriteTo calls to underlying methods 2018-03-28 22:21:52 +00:00
builtin
bytes
cmd cmd/compile: remove last manual node copies 2018-04-10 15:25:31 +00:00
compress compress/gzip: do not count header bytes written in Write 2018-04-02 20:18:14 +00:00
container
context
crypto crypto/rsa: improve the comment of PublicKey.Size 2018-04-09 19:03:04 +00:00
database/sql database/sql: check to see if ctx is cancelable before await 2018-03-27 18:40:46 +00:00
debug debug/elf: add missing EM_AARCH64 to machineStrings 2018-04-10 14:30:45 +00:00
encoding encoding/json: remove unnecessary else conditions 2018-04-09 19:28:23 +00:00
errors
expvar all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
flag flag: correct zero values when printing defaults 2018-04-01 20:17:22 +00:00
fmt fmt: document the behaviour of %p on slices 2018-03-30 00:19:36 +00:00
go cmd/compile: add package height to export data 2018-04-09 23:36:46 +00:00
hash
html text/template: copy Decl field when copying PipeNode 2018-04-10 14:26:58 +00:00
image all: fix non-standard "DO NOT EDIT" comments for generated files 2018-03-10 17:50:11 +00:00
index/suffixarray
internal internal/cpu: skip arm64 feature test on unsupported GOOS 2018-04-08 05:22:26 +00:00
io io: document that ReadAtLeast and ReadFull can drop errors 2018-03-26 17:38:36 +00:00
log
math math/big: clean up z.div(z, x, y) calls 2018-04-05 22:02:33 +00:00
mime all: use strings.Builder instead of bytes.Buffer where appropriate 2018-03-26 23:05:53 +00:00
net net/http: fix comment on LocalAddrContextKey 2018-04-08 13:55:30 +00:00
os os/user: add a way to enforce pure Go implementation 2018-04-06 19:42:41 +00:00
path path/filepath: change example to print the correct path on failure 2018-03-26 17:40:01 +00:00
plugin
reflect reflect: sort exported methods first 2018-03-15 21:56:08 +00:00
regexp regexp: use sync.Pool to cache regexp.machine objects 2018-04-03 16:03:19 +00:00
runtime runtime: remove support_bmi{1,2} 2018-04-10 14:30:10 +00:00
sort sort: fix typo, was a mixup between identifiers 'unsorted' and 'data' 2018-03-19 13:09:29 +00:00
strconv strconv: make code formatting more consistent in doc.go 2018-03-19 12:53:16 +00:00
strings strings: fix flaky TestBuilderGrow test 2018-04-03 00:11:46 +00:00
sync cmd/internal/obj/arm: add DMB instruction 2018-03-27 19:54:44 +00:00
syscall syscall: remove double Unlock from Dup2 on nacl 2018-03-30 21:37:21 +00:00
testing testing: fix testing flags link 2018-03-30 23:34:47 +00:00
text text/template: copy Decl field when copying PipeNode 2018-04-10 14:26:58 +00:00
time time: simplify comparison in test 2018-04-06 19:41:30 +00:00
unicode
unsafe
vendor/golang_org/x net/http: replace SOCKS client implementation 2018-04-06 23:03:17 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash src/run.bash: remove some trailing whitespace 2018-04-01 16:12:47 +00:00
run.bat
run.rc