aboutsummaryrefslogtreecommitdiff
path: root/src/bytes/buffer.go
diff options
context:
space:
mode:
authorDave Cheney <dave@cheney.net>2016-03-05 14:44:11 +1100
committerDave Cheney <dave@cheney.net>2016-03-10 07:01:34 +0000
commitdbe54d23fe2b2751872aaf41d1ef3179729b9960 (patch)
tree91eb3339e7979d23fee5e4df86eb8f4393a68338 /src/bytes/buffer.go
parent211cc40b11e8dc74243b4ac3c03c63aa06ef49b5 (diff)
downloadgo-dbe54d23fe2b2751872aaf41d1ef3179729b9960.tar.xz
cmd/compile/internal: peep.go cleanups
More cleanups after CL 20089 - copysub, take a bool rather than an int for the f (force) parameter. - copysub returns a bool rather than an int. - prevl, reg is now int16, which reduces type conversion in its callers. - copy1, reduce the scope of t and p variables. - small simplifications in copyau1, copyas, etc. - {mips64,ppc64}/regzer returns a bool. - apply CL 20181 to x86/peep.go which was missed in the last CL. - various comment fixes. Change-Id: Ib73ffb768c979ce86f1614e5366fd576dea50986 Reviewed-on: https://go-review.googlesource.com/20281 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Dave Cheney <dave@cheney.net> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/bytes/buffer.go')
0 files changed, 0 insertions, 0 deletions