aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2017-10-24 17:15:30 +0100
committerDaniel Martí <mvdan@mvdan.cc>2017-11-02 20:46:12 +0000
commitd5960e3043768d13a0593a750cbe9dfad6138c97 (patch)
tree5a7c54d497785583407e3039f71e73eae5fa7741 /src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go
parentf3884680fcbda5640e14a01d17aa38d06c70891f (diff)
downloadgo-d5960e3043768d13a0593a750cbe9dfad6138c97.tar.xz
cmd/compile: turn some pointer params into results
These are likely from the time when gc was written in C. There is no need for any of these to be passed pointers, as the previous values are not kept in any way, and the pointers are never nil. Others were left untouched as they fell into one of these useful cases. While at it, also turn some 0/1 integers into booleans. Passes toolstash -cmp on std cmd. Change-Id: Id3a9c9e84ef89536c4dc69a7fdbacd0fd7a76a9b Reviewed-on: https://go-review.googlesource.com/72990 Run-TryBot: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/vendor/github.com/google/pprof/internal/plugin/plugin.go')
0 files changed, 0 insertions, 0 deletions