Skip to content

Commit 58e3f2a

Browse files
committed
cmd/asm/internal/arch: unexport ParseARM64Suffix
ParseARM64Suffix is not used outside cmd/asm/internal/arch. Change-Id: I8e7782dce11cf8cd2fd08dd17e555ced8d87ba24 Reviewed-on: https://go-review.googlesource.com/105115 Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Daniel Martí <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 284c534 commit 58e3f2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/cmd/asm/internal/arch/arm64.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,18 +85,18 @@ func ARM64Suffix(prog *obj.Prog, cond string) bool {
8585
if cond == "" {
8686
return true
8787
}
88-
bits, ok := ParseARM64Suffix(cond)
88+
bits, ok := parseARM64Suffix(cond)
8989
if !ok {
9090
return false
9191
}
9292
prog.Scond = bits
9393
return true
9494
}
9595

96-
// ParseARM64Suffix parses the suffix attached to an ARM64 instruction.
96+
// parseARM64Suffix parses the suffix attached to an ARM64 instruction.
9797
// The input is a single string consisting of period-separated condition
9898
// codes, such as ".P.W". An initial period is ignored.
99-
func ParseARM64Suffix(cond string) (uint8, bool) {
99+
func parseARM64Suffix(cond string) (uint8, bool) {
100100
if cond == "" {
101101
return 0, true
102102
}

0 commit comments

Comments
 (0)