From 5d0b1102bee052ce00bf47f9cfef8f73d2ac6d46 Mon Sep 17 00:00:00 2001 From: cuishuang Date: Tue, 16 Apr 2024 18:07:52 +0800 Subject: [PATCH] x86/x86asm: fix function name in comment Change-Id: Ie70c842161c96948098082d3c0ff1b026bcfd8de Reviewed-on: https://go-review.googlesource.com/c/arch/+/579198 Reviewed-by: qiu laidongfeng2 <2645477756@qq.com> LUCI-TryBot-Result: Go LUCI Reviewed-by: Ian Lance Taylor TryBot-Result: Gopher Robot Reviewed-by: Cherry Mui Auto-Submit: Ian Lance Taylor Commit-Queue: Ian Lance Taylor Run-TryBot: shuang cui --- x86/x86asm/ext_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x86/x86asm/ext_test.go b/x86/x86asm/ext_test.go index e63f113..2e31dd3 100644 --- a/x86/x86asm/ext_test.go +++ b/x86/x86asm/ext_test.go @@ -653,7 +653,7 @@ func enum8bit(try func([]byte)) { } } -// enum8bit generates all possible 2-byte sequences, followed by distinctive padding. +// enum16bit generates all possible 2-byte sequences, followed by distinctive padding. func enum16bit(try func([]byte)) { for i := 0; i < 1<<16; i++ { try([]byte{byte(i), byte(i >> 8), 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88})