diff options
| author | Jes Cok <xigua67damn@gmail.com> | 2023-10-29 06:51:14 +0000 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-10-31 17:13:33 +0000 |
| commit | cbc403af1d9fa73b99cc07f80a2126771b73adfd (patch) | |
| tree | 9b25abc264469c6de8e526295afdd6246add9ec7 /src | |
| parent | 3dea7c3f690cb35858b122605d1f029df8062293 (diff) | |
| download | go-cbc403af1d9fa73b99cc07f80a2126771b73adfd.tar.xz | |
cmd/compile/internal/ssa: adjust default to the end in *Block.AuxIntString
Change-Id: Id48cade7811e2dfbf78d3171fe202ad272534e37
GitHub-Last-Rev: ea6abb2dc216ebd4a42fc3dc25f39ea6869d2dad
GitHub-Pull-Request: golang/go#63808
Reviewed-on: https://go-review.googlesource.com/c/go/+/538377
Auto-Submit: Keith Randall <khr@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/compile/internal/ssa/block.go | 4 |
1 files 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) } } |
