From 58e3f2ac8786ffc21a4aae83eb83cfee413ba802 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 6 Apr 2018 14:40:18 +0200 Subject: [PATCH] cmd/asm/internal/arch: unexport ParseARM64Suffix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ParseARM64Suffix is not used outside cmd/asm/internal/arch. Change-Id: I8e7782dce11cf8cd2fd08dd17e555ced8d87ba24 Reviewed-on: https://go-review.googlesource.com/105115 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Daniel Martí Reviewed-by: Brad Fitzpatrick --- src/cmd/asm/internal/arch/arm64.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cmd/asm/internal/arch/arm64.go b/src/cmd/asm/internal/arch/arm64.go index 0bbd7f98c7..af45f421e9 100644 --- a/src/cmd/asm/internal/arch/arm64.go +++ b/src/cmd/asm/internal/arch/arm64.go @@ -85,7 +85,7 @@ func ARM64Suffix(prog *obj.Prog, cond string) bool { if cond == "" { return true } - bits, ok := ParseARM64Suffix(cond) + bits, ok := parseARM64Suffix(cond) if !ok { return false } @@ -93,10 +93,10 @@ func ARM64Suffix(prog *obj.Prog, cond string) bool { return true } -// ParseARM64Suffix parses the suffix attached to an ARM64 instruction. +// parseARM64Suffix parses the suffix attached to an ARM64 instruction. // The input is a single string consisting of period-separated condition // codes, such as ".P.W". An initial period is ignored. -func ParseARM64Suffix(cond string) (uint8, bool) { +func parseARM64Suffix(cond string) (uint8, bool) { if cond == "" { return 0, true }