mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: remove newline characters after return statements
This commit is aimed at improving the readability and consistency of the code base. Extraneous newline characters were present after some return statements, creating unnecessary separation in the code. Fixes #64610 Change-Id: Ic1b05bf11761c4dff22691c2f1c3755f66d341f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/548316 Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
This commit is contained in:
parent
5f48662c5a
commit
527829a7cb
32 changed files with 4 additions and 39 deletions
|
|
@ -382,7 +382,6 @@ func signextendAndMask8to64(a int8) (s, z uint64) {
|
|||
// ppc64x: -"MOVB", "ANDCC\t[$]247,"
|
||||
z = uint64(uint8(a)) & 0x3F7
|
||||
return
|
||||
|
||||
}
|
||||
|
||||
// Verify zero-extended values are not sign-extended under a bit mask (#61297)
|
||||
|
|
@ -392,7 +391,6 @@ func zeroextendAndMask8to64(a int8, b int16) (x, y uint64) {
|
|||
// ppc64x: -"MOVH\t", -"ANDCC", "MOVHZ"
|
||||
y = uint64(b) & 0xFFFF
|
||||
return
|
||||
|
||||
}
|
||||
|
||||
// Verify rotate and mask instructions, and further simplified instructions for small types
|
||||
|
|
|
|||
|
|
@ -348,7 +348,6 @@ func reassoc_load_uint32(b []byte) uint32 {
|
|||
func extrashift_load_uint32(b []byte) uint32 {
|
||||
// amd64:`MOVL\s\([A-Z]+\)`,`SHLL\s[$]2`,-`MOV[BW]`,-`OR`
|
||||
return uint32(b[0])<<2 | uint32(b[1])<<10 | uint32(b[2])<<18 | uint32(b[3])<<26
|
||||
|
||||
}
|
||||
|
||||
func outoforder_load_uint32(b []byte) uint32 {
|
||||
|
|
|
|||
|
|
@ -277,7 +277,6 @@ func shouldSignEXT(x int) int64 {
|
|||
ret += int64(int8(x & 0x1100000000000011))
|
||||
|
||||
return ret
|
||||
|
||||
}
|
||||
|
||||
func noIntermediateExtension(a, b, c uint32) uint32 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue