• Josh Bleecher Snyder's avatar
    cmd/compile: minor cleanup · e1a7db7f
    Josh Bleecher Snyder authored
    Follow-up to review comments on CL 41797.
    
    Mask the input to set2 and set3, so that at the very least,
    we won't corrupt the rest of the flags in case of a bad input.
    It also seems more semantically appropriate.
    
    Do minor cleanup in addrescapes. I started on larger cleanup,
    but it wasn't clear that it was an improvement.
    
    Add warning comments and sanity checks to Initorder and Class constants,
    to attempt to prevent them from overflowing their allotted flag bits.
    
    Passes toolstash-check.
    
    Change-Id: I57b9661ba36f56406aa7a1d8da9b7c70338f9119
    Reviewed-on: https://go-review.googlesource.com/41817
    Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    e1a7db7f
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...