1
0
mirror of https://github.com/golang/go synced 2024-09-29 20:24:34 -06:00

cmd/compile: fix error message formatting in decomposeBuiltInPhi

Change-Id: Ib2b2eb6bebb59134f671a79739ee1acaf32ed443
Reviewed-on: https://go-review.googlesource.com/c/go/+/411217
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
This commit is contained in:
Jorropo 2022-06-09 06:50:54 +02:00 committed by Keith Randall
parent 790d60537e
commit a36a0c440e

View File

@ -135,7 +135,7 @@ func decomposeBuiltInPhi(v *Value) {
case v.Type.IsFloat():
// floats are never decomposed, even ones bigger than RegSize
case v.Type.Size() > v.Block.Func.Config.RegSize:
v.Fatalf("undecomposed type %s", v.Type)
v.Fatalf("%v undecomposed type %v", v, v.Type)
}
}