From ea6abb2dc216ebd4a42fc3dc25f39ea6869d2dad Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Sun, 29 Oct 2023 14:41:43 +0800 Subject: [PATCH] cmd/compile/internal/ssa: adjust default to the end --- src/cmd/compile/internal/ssa/block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/compile/internal/ssa/block.go b/src/cmd/compile/internal/ssa/block.go index 6d391ab011..4a24a181e5 100644 --- a/src/cmd/compile/internal/ssa/block.go +++ b/src/cmd/compile/internal/ssa/block.go @@ -377,10 +377,10 @@ func (b *Block) AuxIntString() string { return fmt.Sprintf("%v", int8(b.AuxInt)) case "uint8": return fmt.Sprintf("%v", uint8(b.AuxInt)) - default: // type specified but not implemented - print as int64 - return fmt.Sprintf("%v", b.AuxInt) case "": // no aux int type return "" + default: // type specified but not implemented - print as int64 + return fmt.Sprintf("%v", b.AuxInt) } }