aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/request.go
diff options
context:
space:
mode:
authorAlexandru Moșoi <brtzsnr@gmail.com>2017-03-23 22:29:59 +0100
committerAlexandru Moșoi <alexandru@mosoi.ro>2017-03-24 06:59:33 +0000
commit3e63cdf8507709ebfb0906a3dbdc14c402cc0cd6 (patch)
tree6733b75140108f4e1b10dd21c7be815b6fc5cb4d /src/net/http/request.go
parentd039d01fe9786a35ba4f6beea79ff2e964990c97 (diff)
downloadgo-3e63cdf8507709ebfb0906a3dbdc14c402cc0cd6.tar.xz
cmd/compile: optimize shift when counter has different type.
We already handle n << (uint64(c)&63). This change also handles n << (uint8(c)&63) where the SSA compiler promotes the counter to 32 bits. Fixes #19681 Change-Id: I9327d64a994286aa0dbf76eb995578880be6923a Reviewed-on: https://go-review.googlesource.com/38550 Run-TryBot: Alexandru Moșoi <alexandru@mosoi.ro> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/net/http/request.go')
0 files changed, 0 insertions, 0 deletions