• Dave Cheney's avatar
    cmd/compile/internal: peep.go cleanups · dbe54d23
    Dave Cheney authored
    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/20281Reviewed-by: 's avatarMatthew Dempsky <mdempsky@google.com>
    Run-TryBot: Dave Cheney <dave@cheney.net>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    dbe54d23
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...